@googleapis/discoveryengine 28.3.0 → 28.5.0

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/v1alpha.ts CHANGED
@@ -598,6 +598,19 @@ export namespace discoveryengine_v1alpha {
598
598
  */
599
599
  useStaticSecrets?: boolean | null;
600
600
  }
601
+ /**
602
+ * Request for DataStoreService.AddPatientFilter method.
603
+ */
604
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest {
605
+ /**
606
+ * 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
607
+ */
608
+ dataStore?: string | null;
609
+ /**
610
+ * Required. Names of the Group resources to use as a basis for the patient filter, in format `projects/{project_id\}/locations/{location_id\}/datasets/{dataset_id\}/fhirStores/{fhir_store_id\}/fhir/Group/{group_id\}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
611
+ */
612
+ filterGroups?: string[] | null;
613
+ }
601
614
  /**
602
615
  * Stores the definition of an agent that uses ADK and is deployed to Agent Engine (formerly known as Reasoning Engine).
603
616
  */
@@ -658,7 +671,7 @@ export namespace discoveryengine_v1alpha {
658
671
  userPseudoId?: string | null;
659
672
  }
660
673
  /**
661
- * Specification to boost suggestions based on the condtion of the suggestion.
674
+ * Specification to boost suggestions based on the condition of the suggestion.
662
675
  */
663
676
  export interface Schema$GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec {
664
677
  /**
@@ -1019,6 +1032,10 @@ export namespace discoveryengine_v1alpha {
1019
1032
  * The reason why the agent was suspended. Only set if the state is SUSPENDED.
1020
1033
  */
1021
1034
  suspensionReason?: string | null;
1035
+ /**
1036
+ * Output only. The timestamp when the agent was last updated.
1037
+ */
1038
+ updateTime?: string | null;
1022
1039
  /**
1023
1040
  * Optional. Per-user annotations of the current caller for the agent.
1024
1041
  */
@@ -1163,6 +1180,19 @@ export namespace discoveryengine_v1alpha {
1163
1180
  */
1164
1181
  tableId?: string | null;
1165
1182
  }
1183
+ /**
1184
+ * The customer controllable config for Analytics.
1185
+ */
1186
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig {
1187
+ /**
1188
+ * Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
1189
+ */
1190
+ name?: string | null;
1191
+ /**
1192
+ * Whether user-level metrics are enabled.
1193
+ */
1194
+ userLevelMetricsEnabled?: boolean | null;
1195
+ }
1166
1196
  /**
1167
1197
  * Defines an answer.
1168
1198
  */
@@ -2145,7 +2175,7 @@ export namespace discoveryengine_v1alpha {
2145
2175
  */
2146
2176
  groundedContent?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent;
2147
2177
  /**
2148
- * Output only. When set, uniquely identifies a reply within the `AssistAnswer` resource. During an AssistantService.StreamAssist call, multiple `Reply` messages with the same ID can occur within the response stream (across multiple AssistantService.StreamAssistResponse messages). These represent parts of a single `Reply` message in the final `AssistAnswer` resource.
2178
+ * Output only. When set, uniquely identifies a reply within the `AssistAnswer` resource. During an AssistantService.StreamAssist call, multiple `Reply` messages with the same ID can occur within the response stream (across multiple StreamAssistResponse messages). These represent parts of a single `Reply` message in the final `AssistAnswer` resource.
2149
2179
  */
2150
2180
  replyId?: string | null;
2151
2181
  }
@@ -2533,7 +2563,7 @@ export namespace discoveryengine_v1alpha {
2533
2563
  */
2534
2564
  pkceVerificationEnabled?: boolean | null;
2535
2565
  /**
2536
- * Required. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events`
2566
+ * Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If omitted, no additional scopes are requested beyond those required by the authorization uri. If set, it will overwrite the scopes in the authorization uri when acquiring user authorization.
2537
2567
  */
2538
2568
  scopes?: string[] | null;
2539
2569
  /**
@@ -2876,7 +2906,7 @@ export namespace discoveryengine_v1alpha {
2876
2906
  */
2877
2907
  export interface Schema$GoogleCloudDiscoveryengineV1alphaBranch {
2878
2908
  /**
2879
- * Output only. Stistics describing a branch. This field is not populated in BranchView.BASIC view.
2909
+ * Output only. Statistics describing a branch. This field is not populated in BranchView.BRANCH_VIEW_BASIC view.
2880
2910
  */
2881
2911
  branchStats?: Schema$GoogleCloudDiscoveryengineV1alphaBranchBranchStats;
2882
2912
  /**
@@ -4547,6 +4577,15 @@ export namespace discoveryengine_v1alpha {
4547
4577
  */
4548
4578
  updateTime?: string | null;
4549
4579
  }
4580
+ /**
4581
+ * Request for DataStoreService.DeletePatientFilters method.
4582
+ */
4583
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest {
4584
+ /**
4585
+ * 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned.
4586
+ */
4587
+ dataStore?: string | null;
4588
+ }
4550
4589
  /**
4551
4590
  * Metadata for DeleteSchema LRO.
4552
4591
  */
@@ -5042,13 +5081,17 @@ export namespace discoveryengine_v1alpha {
5042
5081
  */
5043
5082
  displayName?: string | null;
5044
5083
  /**
5045
- * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload`
5084
+ * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
5046
5085
  */
5047
5086
  features?: {[key: string]: string} | null;
5048
5087
  /**
5049
5088
  * Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.
5050
5089
  */
5051
5090
  industryVertical?: string | null;
5091
+ /**
5092
+ * Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
5093
+ */
5094
+ knowledgeGraphConfig?: Schema$GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig;
5052
5095
  /**
5053
5096
  * Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
5054
5097
  */
@@ -5061,6 +5104,10 @@ export namespace discoveryengine_v1alpha {
5061
5104
  * Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` engine should be 1-63 characters, and valid characters are /a-z0-9x/. Otherwise, an INVALID_ARGUMENT error is returned.
5062
5105
  */
5063
5106
  name?: string | null;
5107
+ /**
5108
+ * Optional. Observability config for the engine.
5109
+ */
5110
+ observabilityConfig?: Schema$GoogleCloudDiscoveryengineV1alphaObservabilityConfig;
5064
5111
  /**
5065
5112
  * Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION.
5066
5113
  */
@@ -5138,6 +5185,52 @@ export namespace discoveryengine_v1alpha {
5138
5185
  */
5139
5186
  companyName?: string | null;
5140
5187
  }
5188
+ /**
5189
+ * Configuration message for the Knowledge Graph.
5190
+ */
5191
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig {
5192
+ /**
5193
+ * Specify entity types to support.
5194
+ */
5195
+ cloudKnowledgeGraphTypes?: string[] | null;
5196
+ /**
5197
+ * Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.
5198
+ */
5199
+ enableCloudKnowledgeGraph?: boolean | null;
5200
+ /**
5201
+ * Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.
5202
+ */
5203
+ enablePrivateKnowledgeGraph?: boolean | null;
5204
+ /**
5205
+ * Optional. Feature config for the Knowledge Graph.
5206
+ */
5207
+ featureConfig?: Schema$GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig;
5208
+ /**
5209
+ * Specify entity types to support.
5210
+ */
5211
+ privateKnowledgeGraphTypes?: string[] | null;
5212
+ }
5213
+ /**
5214
+ * Feature config for the Knowledge Graph.
5215
+ */
5216
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig {
5217
+ /**
5218
+ * Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.
5219
+ */
5220
+ disablePrivateKgAutoComplete?: boolean | null;
5221
+ /**
5222
+ * Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.
5223
+ */
5224
+ disablePrivateKgEnrichment?: boolean | null;
5225
+ /**
5226
+ * Whether to disable the private KG for query UI chips. Defaults to false if not specified.
5227
+ */
5228
+ disablePrivateKgQueryUiChips?: boolean | null;
5229
+ /**
5230
+ * Whether to disable the private KG query understanding for the engine. Defaults to false if not specified.
5231
+ */
5232
+ disablePrivateKgQueryUnderstanding?: boolean | null;
5233
+ }
5141
5234
  /**
5142
5235
  * Additional config specs for a Media Recommendation engine.
5143
5236
  */
@@ -5791,6 +5884,10 @@ export namespace discoveryengine_v1alpha {
5791
5884
  * Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.
5792
5885
  */
5793
5886
  enableStaticIndexingForBatchIngestion?: boolean | null;
5887
+ /**
5888
+ * Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id\}/locations/{location_id\}/datasets/{dataset_id\}/fhirStores/{fhir_store_id\}/fhir/Group/{group_id\}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
5889
+ */
5890
+ initialFilterGroups?: string[] | null;
5794
5891
  }
5795
5892
  /**
5796
5893
  * Identity Mapping Entry that maps an external identity to an internal identity.
@@ -6725,7 +6822,7 @@ export namespace discoveryengine_v1alpha {
6725
6822
  nextPageToken?: string | null;
6726
6823
  }
6727
6824
  /**
6728
- * Response message for UserLicenseService.ListLicenseConfigUsageStats method.
6825
+ * Response message for UserLicenseService.ListLicenseConfigsUsageStats method.
6729
6826
  */
6730
6827
  export interface Schema$GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse {
6731
6828
  /**
@@ -6879,6 +6976,19 @@ export namespace discoveryengine_v1alpha {
6879
6976
  */
6880
6977
  mode?: string | null;
6881
6978
  }
6979
+ /**
6980
+ * Observability config for a resource.
6981
+ */
6982
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaObservabilityConfig {
6983
+ /**
6984
+ * Optional. Enables observability. If false, all other flags are ignored.
6985
+ */
6986
+ observabilityEnabled?: boolean | null;
6987
+ /**
6988
+ * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If false, will sanitize all sensitive fields.
6989
+ */
6990
+ sensitiveLoggingEnabled?: boolean | null;
6991
+ }
6882
6992
  /**
6883
6993
  * Request message for CrawlRateManagementService.ObtainCrawlRate method.
6884
6994
  */
@@ -6977,6 +7087,27 @@ export namespace discoveryengine_v1alpha {
6977
7087
  */
6978
7088
  totalPanels?: number | null;
6979
7089
  }
7090
+ /**
7091
+ * Metadata related to the progress of the various patient filter operations. This will be returned by the google.longrunning.Operation.metadata field.
7092
+ */
7093
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata {
7094
+ /**
7095
+ * Operation create time.
7096
+ */
7097
+ createTime?: string | null;
7098
+ /**
7099
+ * The number of patient IDs added to the patient filter.
7100
+ */
7101
+ filtersAddedCount?: string | null;
7102
+ /**
7103
+ * The number of patient IDs removed from the patient filter.
7104
+ */
7105
+ filtersRemovedCount?: string | null;
7106
+ /**
7107
+ * Operation last update time. If the operation is done, this is also the finish time.
7108
+ */
7109
+ updateTime?: string | null;
7110
+ }
6980
7111
  /**
6981
7112
  * Request for pausing training of an engine.
6982
7113
  */
@@ -7056,10 +7187,22 @@ export namespace discoveryengine_v1alpha {
7056
7187
  * Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.
7057
7188
  */
7058
7189
  effectiveSearchQpmThreshold?: string | null;
7190
+ /**
7191
+ * Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.
7192
+ */
7193
+ indexingCoreThresholdNextUpdateTime?: string | null;
7194
+ /**
7195
+ * Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.
7196
+ */
7197
+ searchQpmThresholdNextUpdateTime?: string | null;
7059
7198
  /**
7060
7199
  * Optional. The start time of the currently active billing subscription.
7061
7200
  */
7062
7201
  startTime?: string | null;
7202
+ /**
7203
+ * Output only. The latest terminate effective time of search qpm and indexing core subscriptions.
7204
+ */
7205
+ terminateTime?: string | null;
7063
7206
  }
7064
7207
  /**
7065
7208
  * Customer provided configurations.
@@ -7078,6 +7221,10 @@ export namespace discoveryengine_v1alpha {
7078
7221
  * Model Armor configuration to be used for sanitizing user prompts and LLM responses.
7079
7222
  */
7080
7223
  modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
7224
+ /**
7225
+ * Optional. Observability config for NotebookLM.
7226
+ */
7227
+ observabilityConfig?: Schema$GoogleCloudDiscoveryengineV1alphaObservabilityConfig;
7081
7228
  /**
7082
7229
  * Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.
7083
7230
  */
@@ -7742,6 +7889,19 @@ export namespace discoveryengine_v1alpha {
7742
7889
  */
7743
7890
  state?: string | null;
7744
7891
  }
7892
+ /**
7893
+ * Request for DataStoreService.RemovePatientFilter method.
7894
+ */
7895
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest {
7896
+ /**
7897
+ * 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned
7898
+ */
7899
+ dataStore?: string | null;
7900
+ /**
7901
+ * Required. Names of the Group resources to use as a basis for the list of patients to remove from the patient filter, in format `projects/{project_id\}/locations/{location_id\}/datasets/{dataset_id\}/fhirStores/{fhir_store_id\}/fhir/Group/{group_id\}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the list of IDs to remove will be constructed from the direct members of the group which are Patient resources.
7902
+ */
7903
+ filterGroups?: string[] | null;
7904
+ }
7745
7905
  /**
7746
7906
  * Request message for CompletionService.RemoveSuggestion method.
7747
7907
  */
@@ -7771,6 +7931,19 @@ export namespace discoveryengine_v1alpha {
7771
7931
  * Response message for CompletionService.RemoveSuggestion method.
7772
7932
  */
7773
7933
  export interface Schema$GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse {}
7934
+ /**
7935
+ * Request for DataStoreService.ReplacePatientFilter method.
7936
+ */
7937
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest {
7938
+ /**
7939
+ * 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
7940
+ */
7941
+ dataStore?: string | null;
7942
+ /**
7943
+ * Required. Names of the Group resources to use as a basis for the list of patients for the new patient filter, in format `projects/{project_id\}/locations/{location_id\}/datasets/{dataset_id\}/fhirStores/{fhir_store_id\}/fhir/Group/{group_id\}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources.
7944
+ */
7945
+ filterGroups?: string[] | null;
7946
+ }
7774
7947
  /**
7775
7948
  * Defines a reply message to user.
7776
7949
  */
@@ -8202,7 +8375,7 @@ export namespace discoveryengine_v1alpha {
8202
8375
  */
8203
8376
  orderBy?: string | null;
8204
8377
  /**
8205
- * Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
8378
+ * Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
8206
8379
  */
8207
8380
  pageCategories?: string[] | null;
8208
8381
  /**
@@ -8655,7 +8828,7 @@ export namespace discoveryengine_v1alpha {
8655
8828
  */
8656
8829
  allowedFieldNames?: string[] | null;
8657
8830
  /**
8658
- * Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.natural_language_query_understanding_spec.filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
8831
+ * Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED.
8659
8832
  */
8660
8833
  extractedFilterBehavior?: string | null;
8661
8834
  /**
@@ -8798,7 +8971,7 @@ export namespace discoveryengine_v1alpha {
8798
8971
  */
8799
8972
  guidedSearchResult?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult;
8800
8973
  /**
8801
- * Natural language query understanding information for the returned results.
8974
+ * Output only. Natural language query understanding information for the returned results.
8802
8975
  */
8803
8976
  naturalLanguageQueryUnderstandingInfo?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo;
8804
8977
  /**
@@ -10489,6 +10662,10 @@ export namespace discoveryengine_v1alpha {
10489
10662
  * Immutable. The full resource name of the widget config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/widgetConfigs/{widget_config_id\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
10490
10663
  */
10491
10664
  name?: string | null;
10665
+ /**
10666
+ * Output only. The nodes associated with the Widget Config.
10667
+ */
10668
+ nodes?: Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigNode[];
10492
10669
  /**
10493
10670
  * The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users.
10494
10671
  */
@@ -10585,7 +10762,7 @@ export namespace discoveryengine_v1alpha {
10585
10762
  */
10586
10763
  id?: string | null;
10587
10764
  /**
10588
- * The name of the collection. It should be collection resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}`. For APIs under WidgetService, such as WidgetService.LookUpWidgetConfig, the project number and location part is erased in this field.
10765
+ * The name of the collection. It should be collection resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.
10589
10766
  */
10590
10767
  name?: string | null;
10591
10768
  }
@@ -10623,7 +10800,7 @@ export namespace discoveryengine_v1alpha {
10623
10800
  */
10624
10801
  id?: string | null;
10625
10802
  /**
10626
- * The name of the data store. It should be data store resource name Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. For APIs under WidgetService, such as WidgetService.LookUpWidgetConfig, the project number and location part is erased in this field.
10803
+ * The name of the data store. It should be data store resource name Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.
10627
10804
  */
10628
10805
  name?: string | null;
10629
10806
  /**
@@ -10652,7 +10829,7 @@ export namespace discoveryengine_v1alpha {
10652
10829
  */
10653
10830
  id?: string | null;
10654
10831
  /**
10655
- * The name of the data store. It should be data store resource name Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. For APIs under WidgetService, such as WidgetService.LookUpWidgetConfig, the project number and location part is erased in this field.
10832
+ * The name of the data store. It should be data store resource name Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.
10656
10833
  */
10657
10834
  name?: string | null;
10658
10835
  }
@@ -10704,6 +10881,35 @@ export namespace discoveryengine_v1alpha {
10704
10881
  */
10705
10882
  url?: string | null;
10706
10883
  }
10884
+ /**
10885
+ * Represents a single reusable computational or logical unit.
10886
+ */
10887
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigNode {
10888
+ /**
10889
+ * Output only. A detailed description of what the node does.
10890
+ */
10891
+ description?: string | null;
10892
+ /**
10893
+ * Output only. A human readable name for the node.
10894
+ */
10895
+ displayName?: string | null;
10896
+ /**
10897
+ * Output only. An identifier or URL pointing to an icon representing this node type.
10898
+ */
10899
+ iconUrl?: string | null;
10900
+ /**
10901
+ * Output only. The output schema of the tool. This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.
10902
+ */
10903
+ outputSchema?: {[key: string]: any} | null;
10904
+ /**
10905
+ * Output only. The parameter schema of the tool. This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.
10906
+ */
10907
+ parameterSchema?: {[key: string]: any} | null;
10908
+ /**
10909
+ * Output only. The type of the node.
10910
+ */
10911
+ type?: string | null;
10912
+ }
10707
10913
  /**
10708
10914
  * Describes widget UI branding settings.
10709
10915
  */
@@ -10775,7 +10981,7 @@ export namespace discoveryengine_v1alpha {
10775
10981
  */
10776
10982
  enableVisualContentSummary?: boolean | null;
10777
10983
  /**
10778
- * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload`
10984
+ * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
10779
10985
  */
10780
10986
  features?: {[key: string]: string} | null;
10781
10987
  /**
@@ -11967,13 +12173,17 @@ export namespace discoveryengine_v1alpha {
11967
12173
  */
11968
12174
  displayName?: string | null;
11969
12175
  /**
11970
- * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload`
12176
+ * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
11971
12177
  */
11972
12178
  features?: {[key: string]: string} | null;
11973
12179
  /**
11974
12180
  * Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.
11975
12181
  */
11976
12182
  industryVertical?: string | null;
12183
+ /**
12184
+ * Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
12185
+ */
12186
+ knowledgeGraphConfig?: Schema$GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig;
11977
12187
  /**
11978
12188
  * Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
11979
12189
  */
@@ -11986,6 +12196,10 @@ export namespace discoveryengine_v1alpha {
11986
12196
  * Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` engine should be 1-63 characters, and valid characters are /a-z0-9x/. Otherwise, an INVALID_ARGUMENT error is returned.
11987
12197
  */
11988
12198
  name?: string | null;
12199
+ /**
12200
+ * Optional. Observability config for the engine.
12201
+ */
12202
+ observabilityConfig?: Schema$GoogleCloudDiscoveryengineV1betaObservabilityConfig;
11989
12203
  /**
11990
12204
  * Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
11991
12205
  */
@@ -12055,6 +12269,52 @@ export namespace discoveryengine_v1alpha {
12055
12269
  */
12056
12270
  companyName?: string | null;
12057
12271
  }
12272
+ /**
12273
+ * Configuration message for the Knowledge Graph.
12274
+ */
12275
+ export interface Schema$GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig {
12276
+ /**
12277
+ * Specify entity types to support.
12278
+ */
12279
+ cloudKnowledgeGraphTypes?: string[] | null;
12280
+ /**
12281
+ * Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.
12282
+ */
12283
+ enableCloudKnowledgeGraph?: boolean | null;
12284
+ /**
12285
+ * Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.
12286
+ */
12287
+ enablePrivateKnowledgeGraph?: boolean | null;
12288
+ /**
12289
+ * Optional. Feature config for the Knowledge Graph.
12290
+ */
12291
+ featureConfig?: Schema$GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig;
12292
+ /**
12293
+ * Specify entity types to support.
12294
+ */
12295
+ privateKnowledgeGraphTypes?: string[] | null;
12296
+ }
12297
+ /**
12298
+ * Feature config for the Knowledge Graph.
12299
+ */
12300
+ export interface Schema$GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig {
12301
+ /**
12302
+ * Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.
12303
+ */
12304
+ disablePrivateKgAutoComplete?: boolean | null;
12305
+ /**
12306
+ * Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.
12307
+ */
12308
+ disablePrivateKgEnrichment?: boolean | null;
12309
+ /**
12310
+ * Whether to disable the private KG for query UI chips. Defaults to false if not specified.
12311
+ */
12312
+ disablePrivateKgQueryUiChips?: boolean | null;
12313
+ /**
12314
+ * Whether to disable the private KG query understanding for the engine. Defaults to false if not specified.
12315
+ */
12316
+ disablePrivateKgQueryUnderstanding?: boolean | null;
12317
+ }
12058
12318
  /**
12059
12319
  * Additional config specs for a Media Recommendation engine.
12060
12320
  */
@@ -12212,6 +12472,10 @@ export namespace discoveryengine_v1alpha {
12212
12472
  * Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.
12213
12473
  */
12214
12474
  enableStaticIndexingForBatchIngestion?: boolean | null;
12475
+ /**
12476
+ * Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id\}/locations/{location_id\}/datasets/{dataset_id\}/fhirStores/{fhir_store_id\}/fhir/Group/{group_id\}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
12477
+ */
12478
+ initialFilterGroups?: string[] | null;
12215
12479
  }
12216
12480
  /**
12217
12481
  * IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings
@@ -12548,6 +12812,19 @@ export namespace discoveryengine_v1alpha {
12548
12812
  */
12549
12813
  mode?: string | null;
12550
12814
  }
12815
+ /**
12816
+ * Observability config for a resource.
12817
+ */
12818
+ export interface Schema$GoogleCloudDiscoveryengineV1betaObservabilityConfig {
12819
+ /**
12820
+ * Optional. Enables observability. If false, all other flags are ignored.
12821
+ */
12822
+ observabilityEnabled?: boolean | null;
12823
+ /**
12824
+ * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If false, will sanitize all sensitive fields.
12825
+ */
12826
+ sensitiveLoggingEnabled?: boolean | null;
12827
+ }
12551
12828
  /**
12552
12829
  * Response message for CrawlRateManagementService.ObtainCrawlRate method. The response contains organcic or dedicated crawl rate time series data for monitoring, depending on whether dedicated crawl rate is set.
12553
12830
  */
@@ -12625,10 +12902,22 @@ export namespace discoveryengine_v1alpha {
12625
12902
  * Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.
12626
12903
  */
12627
12904
  effectiveSearchQpmThreshold?: string | null;
12905
+ /**
12906
+ * Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.
12907
+ */
12908
+ indexingCoreThresholdNextUpdateTime?: string | null;
12909
+ /**
12910
+ * Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.
12911
+ */
12912
+ searchQpmThresholdNextUpdateTime?: string | null;
12628
12913
  /**
12629
12914
  * Optional. The start time of the currently active billing subscription.
12630
12915
  */
12631
12916
  startTime?: string | null;
12917
+ /**
12918
+ * Output only. The latest terminate effective time of search qpm and indexing core subscriptions.
12919
+ */
12920
+ terminateTime?: string | null;
12632
12921
  }
12633
12922
  /**
12634
12923
  * Customer provided configurations.
@@ -12647,6 +12936,10 @@ export namespace discoveryengine_v1alpha {
12647
12936
  * Model Armor configuration to be used for sanitizing user prompts and LLM responses.
12648
12937
  */
12649
12938
  modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
12939
+ /**
12940
+ * Optional. Observability config for NotebookLM.
12941
+ */
12942
+ observabilityConfig?: Schema$GoogleCloudDiscoveryengineV1betaObservabilityConfig;
12650
12943
  /**
12651
12944
  * Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.
12652
12945
  */
@@ -12945,7 +13238,7 @@ export namespace discoveryengine_v1alpha {
12945
13238
  */
12946
13239
  orderBy?: string | null;
12947
13240
  /**
12948
- * Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
13241
+ * Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
12949
13242
  */
12950
13243
  pageCategories?: string[] | null;
12951
13244
  /**
@@ -13394,7 +13687,7 @@ export namespace discoveryengine_v1alpha {
13394
13687
  */
13395
13688
  allowedFieldNames?: string[] | null;
13396
13689
  /**
13397
- * Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.natural_language_query_understanding_spec.filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
13690
+ * Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED.
13398
13691
  */
13399
13692
  extractedFilterBehavior?: string | null;
13400
13693
  /**
@@ -14854,13 +15147,17 @@ export namespace discoveryengine_v1alpha {
14854
15147
  */
14855
15148
  displayName?: string | null;
14856
15149
  /**
14857
- * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload`
15150
+ * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
14858
15151
  */
14859
15152
  features?: {[key: string]: string} | null;
14860
15153
  /**
14861
15154
  * Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.
14862
15155
  */
14863
15156
  industryVertical?: string | null;
15157
+ /**
15158
+ * Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
15159
+ */
15160
+ knowledgeGraphConfig?: Schema$GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig;
14864
15161
  /**
14865
15162
  * Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
14866
15163
  */
@@ -14873,6 +15170,10 @@ export namespace discoveryengine_v1alpha {
14873
15170
  * Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` engine should be 1-63 characters, and valid characters are /a-z0-9x/. Otherwise, an INVALID_ARGUMENT error is returned.
14874
15171
  */
14875
15172
  name?: string | null;
15173
+ /**
15174
+ * Optional. Observability config for the engine.
15175
+ */
15176
+ observabilityConfig?: Schema$GoogleCloudDiscoveryengineV1ObservabilityConfig;
14876
15177
  /**
14877
15178
  * Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
14878
15179
  */
@@ -14942,6 +15243,52 @@ export namespace discoveryengine_v1alpha {
14942
15243
  */
14943
15244
  companyName?: string | null;
14944
15245
  }
15246
+ /**
15247
+ * Configuration message for the Knowledge Graph.
15248
+ */
15249
+ export interface Schema$GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig {
15250
+ /**
15251
+ * Specify entity types to support.
15252
+ */
15253
+ cloudKnowledgeGraphTypes?: string[] | null;
15254
+ /**
15255
+ * Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.
15256
+ */
15257
+ enableCloudKnowledgeGraph?: boolean | null;
15258
+ /**
15259
+ * Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.
15260
+ */
15261
+ enablePrivateKnowledgeGraph?: boolean | null;
15262
+ /**
15263
+ * Optional. Feature config for the Knowledge Graph.
15264
+ */
15265
+ featureConfig?: Schema$GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig;
15266
+ /**
15267
+ * Specify entity types to support.
15268
+ */
15269
+ privateKnowledgeGraphTypes?: string[] | null;
15270
+ }
15271
+ /**
15272
+ * Feature config for the Knowledge Graph.
15273
+ */
15274
+ export interface Schema$GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig {
15275
+ /**
15276
+ * Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.
15277
+ */
15278
+ disablePrivateKgAutoComplete?: boolean | null;
15279
+ /**
15280
+ * Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.
15281
+ */
15282
+ disablePrivateKgEnrichment?: boolean | null;
15283
+ /**
15284
+ * Whether to disable the private KG for query UI chips. Defaults to false if not specified.
15285
+ */
15286
+ disablePrivateKgQueryUiChips?: boolean | null;
15287
+ /**
15288
+ * Whether to disable the private KG query understanding for the engine. Defaults to false if not specified.
15289
+ */
15290
+ disablePrivateKgQueryUnderstanding?: boolean | null;
15291
+ }
14945
15292
  /**
14946
15293
  * Additional config specs for a Media Recommendation engine.
14947
15294
  */
@@ -15040,6 +15387,10 @@ export namespace discoveryengine_v1alpha {
15040
15387
  * Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.
15041
15388
  */
15042
15389
  enableStaticIndexingForBatchIngestion?: boolean | null;
15390
+ /**
15391
+ * Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id\}/locations/{location_id\}/datasets/{dataset_id\}/fhirStores/{fhir_store_id\}/fhir/Group/{group_id\}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
15392
+ */
15393
+ initialFilterGroups?: string[] | null;
15043
15394
  }
15044
15395
  /**
15045
15396
  * IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings
@@ -15309,6 +15660,19 @@ export namespace discoveryengine_v1alpha {
15309
15660
  */
15310
15661
  mode?: string | null;
15311
15662
  }
15663
+ /**
15664
+ * Observability config for a resource.
15665
+ */
15666
+ export interface Schema$GoogleCloudDiscoveryengineV1ObservabilityConfig {
15667
+ /**
15668
+ * Optional. Enables observability. If false, all other flags are ignored.
15669
+ */
15670
+ observabilityEnabled?: boolean | null;
15671
+ /**
15672
+ * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If false, will sanitize all sensitive fields.
15673
+ */
15674
+ sensitiveLoggingEnabled?: boolean | null;
15675
+ }
15312
15676
  /**
15313
15677
  * Metadata and configurations for a Google Cloud project in the service.
15314
15678
  */
@@ -15352,10 +15716,22 @@ export namespace discoveryengine_v1alpha {
15352
15716
  * Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.
15353
15717
  */
15354
15718
  effectiveSearchQpmThreshold?: string | null;
15719
+ /**
15720
+ * Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.
15721
+ */
15722
+ indexingCoreThresholdNextUpdateTime?: string | null;
15723
+ /**
15724
+ * Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.
15725
+ */
15726
+ searchQpmThresholdNextUpdateTime?: string | null;
15355
15727
  /**
15356
15728
  * Optional. The start time of the currently active billing subscription.
15357
15729
  */
15358
15730
  startTime?: string | null;
15731
+ /**
15732
+ * Output only. The latest terminate effective time of search qpm and indexing core subscriptions.
15733
+ */
15734
+ terminateTime?: string | null;
15359
15735
  }
15360
15736
  /**
15361
15737
  * Customer provided configurations.
@@ -15374,6 +15750,10 @@ export namespace discoveryengine_v1alpha {
15374
15750
  * Model Armor configuration to be used for sanitizing user prompts and LLM responses.
15375
15751
  */
15376
15752
  modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
15753
+ /**
15754
+ * Optional. Observability config for NotebookLM.
15755
+ */
15756
+ observabilityConfig?: Schema$GoogleCloudDiscoveryengineV1ObservabilityConfig;
15377
15757
  /**
15378
15758
  * Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.
15379
15759
  */
@@ -16198,7 +16578,7 @@ export namespace discoveryengine_v1alpha {
16198
16578
  names?: string[] | null;
16199
16579
  }
16200
16580
  /**
16201
- * Request for SourceService.BatchDeleteSourcesRequest method.
16581
+ * Request for BatchDeleteSourcesRequest method.
16202
16582
  */
16203
16583
  export interface Schema$GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest {
16204
16584
  /**
@@ -16253,10 +16633,18 @@ export namespace discoveryengine_v1alpha {
16253
16633
  * Indicates an error occurred while ingesting the source.
16254
16634
  */
16255
16635
  ingestionError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonIngestionError;
16636
+ /**
16637
+ * Indicates that the source MIME type is blocked.
16638
+ */
16639
+ mimeTypeBlocked?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked;
16256
16640
  /**
16257
16641
  * Indicates that the source is paywalled and cannot be ingested.
16258
16642
  */
16259
16643
  paywallError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonPaywallError;
16644
+ /**
16645
+ * Indicates that the policy check failed.
16646
+ */
16647
+ policyCheckFailed?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed;
16260
16648
  /**
16261
16649
  * Indicates that the source is empty.
16262
16650
  */
@@ -16328,10 +16716,18 @@ export namespace discoveryengine_v1alpha {
16328
16716
  * Indicates an error occurred while ingesting the source.
16329
16717
  */
16330
16718
  export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonIngestionError {}
16719
+ /**
16720
+ * Indicates that the source MIME type is blocked.
16721
+ */
16722
+ export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked {}
16331
16723
  /**
16332
16724
  * Indicates that the source is paywalled and cannot be ingested.
16333
16725
  */
16334
16726
  export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonPaywallError {}
16727
+ /**
16728
+ * Indicates that the policy check failed.
16729
+ */
16730
+ export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed {}
16335
16731
  /**
16336
16732
  * Indicates that the source is empty.
16337
16733
  */
@@ -17864,7 +18260,7 @@ export namespace discoveryengine_v1alpha {
17864
18260
  * const res = await discoveryengine.projects.patch({
17865
18261
  * // Output only. Full resource name of the project, for example `projects/{project\}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.
17866
18262
  * name: 'projects/my-project',
17867
- * // Optional. The list of fields to update. Supported fields: * `customer_provided_config`
18263
+ * // Optional. The list of fields to update. Supported fields: * `customer_provided_config` * `customer_provided_config.notebooklm_config.observability_config`
17868
18264
  * updateMask: 'placeholder-value',
17869
18265
  *
17870
18266
  * // Request body metadata
@@ -18333,7 +18729,7 @@ export namespace discoveryengine_v1alpha {
18333
18729
  */
18334
18730
  name?: string;
18335
18731
  /**
18336
- * Optional. The list of fields to update. Supported fields: * `customer_provided_config`
18732
+ * Optional. The list of fields to update. Supported fields: * `customer_provided_config` * `customer_provided_config.notebooklm_config.observability_config`
18337
18733
  */
18338
18734
  updateMask?: string;
18339
18735
 
@@ -24320,7 +24716,7 @@ export namespace discoveryengine_v1alpha {
24320
24716
  }
24321
24717
 
24322
24718
  /**
24323
- * Completes the specified user input with keyword suggestions.
24719
+ * Adds a group of patient IDs as a patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
24324
24720
  * @example
24325
24721
  * ```js
24326
24722
  * // Before running the sample:
@@ -24343,7 +24739,6 @@ export namespace discoveryengine_v1alpha {
24343
24739
  * // Scopes can be specified either as an array or as a single, space-delimited string.
24344
24740
  * scopes: [
24345
24741
  * 'https://www.googleapis.com/auth/cloud-platform',
24346
- * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
24347
24742
  * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
24348
24743
  * ],
24349
24744
  * });
@@ -24354,27 +24749,31 @@ export namespace discoveryengine_v1alpha {
24354
24749
  *
24355
24750
  * // Do the magic
24356
24751
  * const res =
24357
- * await discoveryengine.projects.locations.collections.dataStores.completeQuery(
24752
+ * await discoveryengine.projects.locations.collections.dataStores.addPatientFilter(
24358
24753
  * {
24359
- * // Required. The parent data store resource name for which the completion is performed, such as `projects/x/locations/global/collections/default_collection/dataStores/default_data_store`.
24754
+ * // 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
24360
24755
  * dataStore:
24361
24756
  * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
24362
- * // 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.
24363
- * includeTailSuggestions: 'placeholder-value',
24364
- * // Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.
24365
- * query: 'placeholder-value',
24366
- * // 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.
24367
- * queryModel: 'placeholder-value',
24368
- * // Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
24369
- * userPseudoId: 'placeholder-value',
24757
+ *
24758
+ * // Request body metadata
24759
+ * requestBody: {
24760
+ * // request body parameters
24761
+ * // {
24762
+ * // "dataStore": "my_dataStore",
24763
+ * // "filterGroups": []
24764
+ * // }
24765
+ * },
24370
24766
  * },
24371
24767
  * );
24372
24768
  * console.log(res.data);
24373
24769
  *
24374
24770
  * // Example response
24375
24771
  * // {
24376
- * // "querySuggestions": [],
24377
- * // "tailMatchTriggered": false
24772
+ * // "done": false,
24773
+ * // "error": {},
24774
+ * // "metadata": {},
24775
+ * // "name": "my_name",
24776
+ * // "response": {}
24378
24777
  * // }
24379
24778
  * }
24380
24779
  *
@@ -24390,62 +24789,58 @@ export namespace discoveryengine_v1alpha {
24390
24789
  * @param callback - Optional callback that handles the response.
24391
24790
  * @returns A promise if used with async/await, or void if used with a callback.
24392
24791
  */
24393
- completeQuery(
24394
- params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24792
+ addPatientFilter(
24793
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter,
24395
24794
  options: StreamMethodOptions
24396
24795
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24397
- completeQuery(
24398
- params?: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24796
+ addPatientFilter(
24797
+ params?: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter,
24399
24798
  options?: MethodOptions
24400
- ): Promise<
24401
- GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24402
- >;
24403
- completeQuery(
24404
- params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24799
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
24800
+ addPatientFilter(
24801
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter,
24405
24802
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
24406
24803
  callback: BodyResponseCallback<Readable>
24407
24804
  ): void;
24408
- completeQuery(
24409
- params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24805
+ addPatientFilter(
24806
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter,
24410
24807
  options:
24411
24808
  | MethodOptions
24412
- | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>,
24413
- callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24809
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
24810
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
24414
24811
  ): void;
24415
- completeQuery(
24416
- params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24417
- callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24812
+ addPatientFilter(
24813
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter,
24814
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
24418
24815
  ): void;
24419
- completeQuery(
24420
- callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24816
+ addPatientFilter(
24817
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
24421
24818
  ): void;
24422
- completeQuery(
24819
+ addPatientFilter(
24423
24820
  paramsOrCallback?:
24424
- | Params$Resource$Projects$Locations$Collections$Datastores$Completequery
24425
- | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24821
+ | Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter
24822
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
24426
24823
  | BodyResponseCallback<Readable>,
24427
24824
  optionsOrCallback?:
24428
24825
  | MethodOptions
24429
24826
  | StreamMethodOptions
24430
- | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24827
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
24431
24828
  | BodyResponseCallback<Readable>,
24432
24829
  callback?:
24433
- | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24830
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
24434
24831
  | BodyResponseCallback<Readable>
24435
24832
  ):
24436
24833
  | void
24437
- | Promise<
24438
- GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24439
- >
24834
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
24440
24835
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
24441
24836
  let params = (paramsOrCallback ||
24442
- {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completequery;
24837
+ {}) as Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter;
24443
24838
  let options = (optionsOrCallback || {}) as MethodOptions;
24444
24839
 
24445
24840
  if (typeof paramsOrCallback === 'function') {
24446
24841
  callback = paramsOrCallback;
24447
24842
  params =
24448
- {} as Params$Resource$Projects$Locations$Collections$Datastores$Completequery;
24843
+ {} as Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter;
24449
24844
  options = {};
24450
24845
  }
24451
24846
 
@@ -24459,11 +24854,11 @@ export namespace discoveryengine_v1alpha {
24459
24854
  const parameters = {
24460
24855
  options: Object.assign(
24461
24856
  {
24462
- url: (rootUrl + '/v1alpha/{+dataStore}:completeQuery').replace(
24857
+ url: (rootUrl + '/v1alpha/{+dataStore}:addPatientFilter').replace(
24463
24858
  /([^:]\/)\/+/g,
24464
24859
  '$1'
24465
24860
  ),
24466
- method: 'GET',
24861
+ method: 'POST',
24467
24862
  apiVersion: '',
24468
24863
  },
24469
24864
  options
@@ -24474,19 +24869,183 @@ export namespace discoveryengine_v1alpha {
24474
24869
  context: this.context,
24475
24870
  };
24476
24871
  if (callback) {
24477
- createAPIRequest<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>(
24872
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
24478
24873
  parameters,
24479
24874
  callback as BodyResponseCallback<unknown>
24480
24875
  );
24481
24876
  } else {
24482
- return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>(
24483
- parameters
24484
- );
24877
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
24485
24878
  }
24486
24879
  }
24487
24880
 
24488
24881
  /**
24489
- * 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.
24882
+ * Completes the specified user input with keyword suggestions.
24883
+ * @example
24884
+ * ```js
24885
+ * // Before running the sample:
24886
+ * // - Enable the API at:
24887
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
24888
+ * // - Login into gcloud by running:
24889
+ * // ```sh
24890
+ * // $ gcloud auth application-default login
24891
+ * // ```
24892
+ * // - Install the npm module by running:
24893
+ * // ```sh
24894
+ * // $ npm install googleapis
24895
+ * // ```
24896
+ *
24897
+ * const {google} = require('googleapis');
24898
+ * const discoveryengine = google.discoveryengine('v1alpha');
24899
+ *
24900
+ * async function main() {
24901
+ * const auth = new google.auth.GoogleAuth({
24902
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
24903
+ * scopes: [
24904
+ * 'https://www.googleapis.com/auth/cloud-platform',
24905
+ * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
24906
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
24907
+ * ],
24908
+ * });
24909
+ *
24910
+ * // Acquire an auth client, and bind it to all future calls
24911
+ * const authClient = await auth.getClient();
24912
+ * google.options({auth: authClient});
24913
+ *
24914
+ * // Do the magic
24915
+ * const res =
24916
+ * await discoveryengine.projects.locations.collections.dataStores.completeQuery(
24917
+ * {
24918
+ * // Required. The parent data store resource name for which the completion is performed, such as `projects/x/locations/global/collections/default_collection/dataStores/default_data_store`.
24919
+ * dataStore:
24920
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
24921
+ * // 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.
24922
+ * includeTailSuggestions: 'placeholder-value',
24923
+ * // Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.
24924
+ * query: 'placeholder-value',
24925
+ * // 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.
24926
+ * queryModel: 'placeholder-value',
24927
+ * // Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
24928
+ * userPseudoId: 'placeholder-value',
24929
+ * },
24930
+ * );
24931
+ * console.log(res.data);
24932
+ *
24933
+ * // Example response
24934
+ * // {
24935
+ * // "querySuggestions": [],
24936
+ * // "tailMatchTriggered": false
24937
+ * // }
24938
+ * }
24939
+ *
24940
+ * main().catch(e => {
24941
+ * console.error(e);
24942
+ * throw e;
24943
+ * });
24944
+ *
24945
+ * ```
24946
+ *
24947
+ * @param params - Parameters for request
24948
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
24949
+ * @param callback - Optional callback that handles the response.
24950
+ * @returns A promise if used with async/await, or void if used with a callback.
24951
+ */
24952
+ completeQuery(
24953
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24954
+ options: StreamMethodOptions
24955
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24956
+ completeQuery(
24957
+ params?: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24958
+ options?: MethodOptions
24959
+ ): Promise<
24960
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24961
+ >;
24962
+ completeQuery(
24963
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24964
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
24965
+ callback: BodyResponseCallback<Readable>
24966
+ ): void;
24967
+ completeQuery(
24968
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24969
+ options:
24970
+ | MethodOptions
24971
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>,
24972
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24973
+ ): void;
24974
+ completeQuery(
24975
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery,
24976
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24977
+ ): void;
24978
+ completeQuery(
24979
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24980
+ ): void;
24981
+ completeQuery(
24982
+ paramsOrCallback?:
24983
+ | Params$Resource$Projects$Locations$Collections$Datastores$Completequery
24984
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24985
+ | BodyResponseCallback<Readable>,
24986
+ optionsOrCallback?:
24987
+ | MethodOptions
24988
+ | StreamMethodOptions
24989
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24990
+ | BodyResponseCallback<Readable>,
24991
+ callback?:
24992
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24993
+ | BodyResponseCallback<Readable>
24994
+ ):
24995
+ | void
24996
+ | Promise<
24997
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>
24998
+ >
24999
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
25000
+ let params = (paramsOrCallback ||
25001
+ {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completequery;
25002
+ let options = (optionsOrCallback || {}) as MethodOptions;
25003
+
25004
+ if (typeof paramsOrCallback === 'function') {
25005
+ callback = paramsOrCallback;
25006
+ params =
25007
+ {} as Params$Resource$Projects$Locations$Collections$Datastores$Completequery;
25008
+ options = {};
25009
+ }
25010
+
25011
+ if (typeof optionsOrCallback === 'function') {
25012
+ callback = optionsOrCallback;
25013
+ options = {};
25014
+ }
25015
+
25016
+ const rootUrl =
25017
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
25018
+ const parameters = {
25019
+ options: Object.assign(
25020
+ {
25021
+ url: (rootUrl + '/v1alpha/{+dataStore}:completeQuery').replace(
25022
+ /([^:]\/)\/+/g,
25023
+ '$1'
25024
+ ),
25025
+ method: 'GET',
25026
+ apiVersion: '',
25027
+ },
25028
+ options
25029
+ ),
25030
+ params,
25031
+ requiredParams: ['dataStore'],
25032
+ pathParams: ['dataStore'],
25033
+ context: this.context,
25034
+ };
25035
+ if (callback) {
25036
+ createAPIRequest<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>(
25037
+ parameters,
25038
+ callback as BodyResponseCallback<unknown>
25039
+ );
25040
+ } else {
25041
+ return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>(
25042
+ parameters
25043
+ );
25044
+ }
25045
+ }
25046
+
25047
+ /**
25048
+ * 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.
24490
25049
  * @example
24491
25050
  * ```js
24492
25051
  * // Before running the sample:
@@ -24828,6 +25387,167 @@ export namespace discoveryengine_v1alpha {
24828
25387
  }
24829
25388
  }
24830
25389
 
25390
+ /**
25391
+ * Deletes the entire patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter.
25392
+ * @example
25393
+ * ```js
25394
+ * // Before running the sample:
25395
+ * // - Enable the API at:
25396
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
25397
+ * // - Login into gcloud by running:
25398
+ * // ```sh
25399
+ * // $ gcloud auth application-default login
25400
+ * // ```
25401
+ * // - Install the npm module by running:
25402
+ * // ```sh
25403
+ * // $ npm install googleapis
25404
+ * // ```
25405
+ *
25406
+ * const {google} = require('googleapis');
25407
+ * const discoveryengine = google.discoveryengine('v1alpha');
25408
+ *
25409
+ * async function main() {
25410
+ * const auth = new google.auth.GoogleAuth({
25411
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
25412
+ * scopes: [
25413
+ * 'https://www.googleapis.com/auth/cloud-platform',
25414
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
25415
+ * ],
25416
+ * });
25417
+ *
25418
+ * // Acquire an auth client, and bind it to all future calls
25419
+ * const authClient = await auth.getClient();
25420
+ * google.options({auth: authClient});
25421
+ *
25422
+ * // Do the magic
25423
+ * const res =
25424
+ * await discoveryengine.projects.locations.collections.dataStores.deletePatientFilter(
25425
+ * {
25426
+ * // 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned.
25427
+ * dataStore:
25428
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
25429
+ *
25430
+ * // Request body metadata
25431
+ * requestBody: {
25432
+ * // request body parameters
25433
+ * // {
25434
+ * // "dataStore": "my_dataStore"
25435
+ * // }
25436
+ * },
25437
+ * },
25438
+ * );
25439
+ * console.log(res.data);
25440
+ *
25441
+ * // Example response
25442
+ * // {
25443
+ * // "done": false,
25444
+ * // "error": {},
25445
+ * // "metadata": {},
25446
+ * // "name": "my_name",
25447
+ * // "response": {}
25448
+ * // }
25449
+ * }
25450
+ *
25451
+ * main().catch(e => {
25452
+ * console.error(e);
25453
+ * throw e;
25454
+ * });
25455
+ *
25456
+ * ```
25457
+ *
25458
+ * @param params - Parameters for request
25459
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
25460
+ * @param callback - Optional callback that handles the response.
25461
+ * @returns A promise if used with async/await, or void if used with a callback.
25462
+ */
25463
+ deletePatientFilter(
25464
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter,
25465
+ options: StreamMethodOptions
25466
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
25467
+ deletePatientFilter(
25468
+ params?: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter,
25469
+ options?: MethodOptions
25470
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
25471
+ deletePatientFilter(
25472
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter,
25473
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
25474
+ callback: BodyResponseCallback<Readable>
25475
+ ): void;
25476
+ deletePatientFilter(
25477
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter,
25478
+ options:
25479
+ | MethodOptions
25480
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
25481
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
25482
+ ): void;
25483
+ deletePatientFilter(
25484
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter,
25485
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
25486
+ ): void;
25487
+ deletePatientFilter(
25488
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
25489
+ ): void;
25490
+ deletePatientFilter(
25491
+ paramsOrCallback?:
25492
+ | Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter
25493
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
25494
+ | BodyResponseCallback<Readable>,
25495
+ optionsOrCallback?:
25496
+ | MethodOptions
25497
+ | StreamMethodOptions
25498
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
25499
+ | BodyResponseCallback<Readable>,
25500
+ callback?:
25501
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
25502
+ | BodyResponseCallback<Readable>
25503
+ ):
25504
+ | void
25505
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
25506
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
25507
+ let params = (paramsOrCallback ||
25508
+ {}) as Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter;
25509
+ let options = (optionsOrCallback || {}) as MethodOptions;
25510
+
25511
+ if (typeof paramsOrCallback === 'function') {
25512
+ callback = paramsOrCallback;
25513
+ params =
25514
+ {} as Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter;
25515
+ options = {};
25516
+ }
25517
+
25518
+ if (typeof optionsOrCallback === 'function') {
25519
+ callback = optionsOrCallback;
25520
+ options = {};
25521
+ }
25522
+
25523
+ const rootUrl =
25524
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
25525
+ const parameters = {
25526
+ options: Object.assign(
25527
+ {
25528
+ url: (
25529
+ rootUrl + '/v1alpha/{+dataStore}:deletePatientFilter'
25530
+ ).replace(/([^:]\/)\/+/g, '$1'),
25531
+ method: 'POST',
25532
+ apiVersion: '',
25533
+ },
25534
+ options
25535
+ ),
25536
+ params,
25537
+ requiredParams: ['dataStore'],
25538
+ pathParams: ['dataStore'],
25539
+ context: this.context,
25540
+ };
25541
+ if (callback) {
25542
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
25543
+ parameters,
25544
+ callback as BodyResponseCallback<unknown>
25545
+ );
25546
+ } else {
25547
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
25548
+ }
25549
+ }
25550
+
24831
25551
  /**
24832
25552
  * Gets a DataStore.
24833
25553
  * @example
@@ -25676,6 +26396,330 @@ export namespace discoveryengine_v1alpha {
25676
26396
  }
25677
26397
  }
25678
26398
 
26399
+ /**
26400
+ * Removes a group of patient IDs from the patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the list of patient IDs to remove will be constructed from the direct members of the group which are Patient resources.
26401
+ * @example
26402
+ * ```js
26403
+ * // Before running the sample:
26404
+ * // - Enable the API at:
26405
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
26406
+ * // - Login into gcloud by running:
26407
+ * // ```sh
26408
+ * // $ gcloud auth application-default login
26409
+ * // ```
26410
+ * // - Install the npm module by running:
26411
+ * // ```sh
26412
+ * // $ npm install googleapis
26413
+ * // ```
26414
+ *
26415
+ * const {google} = require('googleapis');
26416
+ * const discoveryengine = google.discoveryengine('v1alpha');
26417
+ *
26418
+ * async function main() {
26419
+ * const auth = new google.auth.GoogleAuth({
26420
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
26421
+ * scopes: [
26422
+ * 'https://www.googleapis.com/auth/cloud-platform',
26423
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
26424
+ * ],
26425
+ * });
26426
+ *
26427
+ * // Acquire an auth client, and bind it to all future calls
26428
+ * const authClient = await auth.getClient();
26429
+ * google.options({auth: authClient});
26430
+ *
26431
+ * // Do the magic
26432
+ * const res =
26433
+ * await discoveryengine.projects.locations.collections.dataStores.removePatientFilter(
26434
+ * {
26435
+ * // 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned
26436
+ * dataStore:
26437
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
26438
+ *
26439
+ * // Request body metadata
26440
+ * requestBody: {
26441
+ * // request body parameters
26442
+ * // {
26443
+ * // "dataStore": "my_dataStore",
26444
+ * // "filterGroups": []
26445
+ * // }
26446
+ * },
26447
+ * },
26448
+ * );
26449
+ * console.log(res.data);
26450
+ *
26451
+ * // Example response
26452
+ * // {
26453
+ * // "done": false,
26454
+ * // "error": {},
26455
+ * // "metadata": {},
26456
+ * // "name": "my_name",
26457
+ * // "response": {}
26458
+ * // }
26459
+ * }
26460
+ *
26461
+ * main().catch(e => {
26462
+ * console.error(e);
26463
+ * throw e;
26464
+ * });
26465
+ *
26466
+ * ```
26467
+ *
26468
+ * @param params - Parameters for request
26469
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
26470
+ * @param callback - Optional callback that handles the response.
26471
+ * @returns A promise if used with async/await, or void if used with a callback.
26472
+ */
26473
+ removePatientFilter(
26474
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter,
26475
+ options: StreamMethodOptions
26476
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
26477
+ removePatientFilter(
26478
+ params?: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter,
26479
+ options?: MethodOptions
26480
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
26481
+ removePatientFilter(
26482
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter,
26483
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
26484
+ callback: BodyResponseCallback<Readable>
26485
+ ): void;
26486
+ removePatientFilter(
26487
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter,
26488
+ options:
26489
+ | MethodOptions
26490
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
26491
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
26492
+ ): void;
26493
+ removePatientFilter(
26494
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter,
26495
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
26496
+ ): void;
26497
+ removePatientFilter(
26498
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
26499
+ ): void;
26500
+ removePatientFilter(
26501
+ paramsOrCallback?:
26502
+ | Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter
26503
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
26504
+ | BodyResponseCallback<Readable>,
26505
+ optionsOrCallback?:
26506
+ | MethodOptions
26507
+ | StreamMethodOptions
26508
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
26509
+ | BodyResponseCallback<Readable>,
26510
+ callback?:
26511
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
26512
+ | BodyResponseCallback<Readable>
26513
+ ):
26514
+ | void
26515
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
26516
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
26517
+ let params = (paramsOrCallback ||
26518
+ {}) as Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter;
26519
+ let options = (optionsOrCallback || {}) as MethodOptions;
26520
+
26521
+ if (typeof paramsOrCallback === 'function') {
26522
+ callback = paramsOrCallback;
26523
+ params =
26524
+ {} as Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter;
26525
+ options = {};
26526
+ }
26527
+
26528
+ if (typeof optionsOrCallback === 'function') {
26529
+ callback = optionsOrCallback;
26530
+ options = {};
26531
+ }
26532
+
26533
+ const rootUrl =
26534
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
26535
+ const parameters = {
26536
+ options: Object.assign(
26537
+ {
26538
+ url: (
26539
+ rootUrl + '/v1alpha/{+dataStore}:removePatientFilter'
26540
+ ).replace(/([^:]\/)\/+/g, '$1'),
26541
+ method: 'POST',
26542
+ apiVersion: '',
26543
+ },
26544
+ options
26545
+ ),
26546
+ params,
26547
+ requiredParams: ['dataStore'],
26548
+ pathParams: ['dataStore'],
26549
+ context: this.context,
26550
+ };
26551
+ if (callback) {
26552
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
26553
+ parameters,
26554
+ callback as BodyResponseCallback<unknown>
26555
+ );
26556
+ } else {
26557
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
26558
+ }
26559
+ }
26560
+
26561
+ /**
26562
+ * Replaces the patient filter for the data store. This method is essentially a combination of DeletePatientFilters and AddPatientFilter. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources.
26563
+ * @example
26564
+ * ```js
26565
+ * // Before running the sample:
26566
+ * // - Enable the API at:
26567
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
26568
+ * // - Login into gcloud by running:
26569
+ * // ```sh
26570
+ * // $ gcloud auth application-default login
26571
+ * // ```
26572
+ * // - Install the npm module by running:
26573
+ * // ```sh
26574
+ * // $ npm install googleapis
26575
+ * // ```
26576
+ *
26577
+ * const {google} = require('googleapis');
26578
+ * const discoveryengine = google.discoveryengine('v1alpha');
26579
+ *
26580
+ * async function main() {
26581
+ * const auth = new google.auth.GoogleAuth({
26582
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
26583
+ * scopes: [
26584
+ * 'https://www.googleapis.com/auth/cloud-platform',
26585
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
26586
+ * ],
26587
+ * });
26588
+ *
26589
+ * // Acquire an auth client, and bind it to all future calls
26590
+ * const authClient = await auth.getClient();
26591
+ * google.options({auth: authClient});
26592
+ *
26593
+ * // Do the magic
26594
+ * const res =
26595
+ * await discoveryengine.projects.locations.collections.dataStores.replacePatientFilter(
26596
+ * {
26597
+ * // 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
26598
+ * dataStore:
26599
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
26600
+ *
26601
+ * // Request body metadata
26602
+ * requestBody: {
26603
+ * // request body parameters
26604
+ * // {
26605
+ * // "dataStore": "my_dataStore",
26606
+ * // "filterGroups": []
26607
+ * // }
26608
+ * },
26609
+ * },
26610
+ * );
26611
+ * console.log(res.data);
26612
+ *
26613
+ * // Example response
26614
+ * // {
26615
+ * // "done": false,
26616
+ * // "error": {},
26617
+ * // "metadata": {},
26618
+ * // "name": "my_name",
26619
+ * // "response": {}
26620
+ * // }
26621
+ * }
26622
+ *
26623
+ * main().catch(e => {
26624
+ * console.error(e);
26625
+ * throw e;
26626
+ * });
26627
+ *
26628
+ * ```
26629
+ *
26630
+ * @param params - Parameters for request
26631
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
26632
+ * @param callback - Optional callback that handles the response.
26633
+ * @returns A promise if used with async/await, or void if used with a callback.
26634
+ */
26635
+ replacePatientFilter(
26636
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter,
26637
+ options: StreamMethodOptions
26638
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
26639
+ replacePatientFilter(
26640
+ params?: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter,
26641
+ options?: MethodOptions
26642
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
26643
+ replacePatientFilter(
26644
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter,
26645
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
26646
+ callback: BodyResponseCallback<Readable>
26647
+ ): void;
26648
+ replacePatientFilter(
26649
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter,
26650
+ options:
26651
+ | MethodOptions
26652
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
26653
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
26654
+ ): void;
26655
+ replacePatientFilter(
26656
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter,
26657
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
26658
+ ): void;
26659
+ replacePatientFilter(
26660
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
26661
+ ): void;
26662
+ replacePatientFilter(
26663
+ paramsOrCallback?:
26664
+ | Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter
26665
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
26666
+ | BodyResponseCallback<Readable>,
26667
+ optionsOrCallback?:
26668
+ | MethodOptions
26669
+ | StreamMethodOptions
26670
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
26671
+ | BodyResponseCallback<Readable>,
26672
+ callback?:
26673
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
26674
+ | BodyResponseCallback<Readable>
26675
+ ):
26676
+ | void
26677
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
26678
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
26679
+ let params = (paramsOrCallback ||
26680
+ {}) as Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter;
26681
+ let options = (optionsOrCallback || {}) as MethodOptions;
26682
+
26683
+ if (typeof paramsOrCallback === 'function') {
26684
+ callback = paramsOrCallback;
26685
+ params =
26686
+ {} as Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter;
26687
+ options = {};
26688
+ }
26689
+
26690
+ if (typeof optionsOrCallback === 'function') {
26691
+ callback = optionsOrCallback;
26692
+ options = {};
26693
+ }
26694
+
26695
+ const rootUrl =
26696
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
26697
+ const parameters = {
26698
+ options: Object.assign(
26699
+ {
26700
+ url: (
26701
+ rootUrl + '/v1alpha/{+dataStore}:replacePatientFilter'
26702
+ ).replace(/([^:]\/)\/+/g, '$1'),
26703
+ method: 'POST',
26704
+ apiVersion: '',
26705
+ },
26706
+ options
26707
+ ),
26708
+ params,
26709
+ requiredParams: ['dataStore'],
26710
+ pathParams: ['dataStore'],
26711
+ context: this.context,
26712
+ };
26713
+ if (callback) {
26714
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
26715
+ parameters,
26716
+ callback as BodyResponseCallback<unknown>
26717
+ );
26718
+ } else {
26719
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
26720
+ }
26721
+ }
26722
+
25679
26723
  /**
25680
26724
  * Trains a custom model.
25681
26725
  * @example
@@ -26010,6 +27054,17 @@ export namespace discoveryengine_v1alpha {
26010
27054
  }
26011
27055
  }
26012
27056
 
27057
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter extends StandardParameters {
27058
+ /**
27059
+ * 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
27060
+ */
27061
+ dataStore?: string;
27062
+
27063
+ /**
27064
+ * Request body metadata
27065
+ */
27066
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest;
27067
+ }
26013
27068
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Completequery extends StandardParameters {
26014
27069
  /**
26015
27070
  * Required. The parent data store resource name for which the completion is performed, such as `projects/x/locations/global/collections/default_collection/dataStores/default_data_store`.
@@ -26069,6 +27124,17 @@ export namespace discoveryengine_v1alpha {
26069
27124
  */
26070
27125
  name?: string;
26071
27126
  }
27127
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter extends StandardParameters {
27128
+ /**
27129
+ * 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned.
27130
+ */
27131
+ dataStore?: string;
27132
+
27133
+ /**
27134
+ * Request body metadata
27135
+ */
27136
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest;
27137
+ }
26072
27138
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Get extends StandardParameters {
26073
27139
  /**
26074
27140
  * 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.
@@ -26120,6 +27186,28 @@ export namespace discoveryengine_v1alpha {
26120
27186
  */
26121
27187
  requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaDataStore;
26122
27188
  }
27189
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter extends StandardParameters {
27190
+ /**
27191
+ * 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned
27192
+ */
27193
+ dataStore?: string;
27194
+
27195
+ /**
27196
+ * Request body metadata
27197
+ */
27198
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest;
27199
+ }
27200
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter extends StandardParameters {
27201
+ /**
27202
+ * 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
27203
+ */
27204
+ dataStore?: string;
27205
+
27206
+ /**
27207
+ * Request body metadata
27208
+ */
27209
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest;
27210
+ }
26123
27211
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel extends StandardParameters {
26124
27212
  /**
26125
27213
  * Required. The resource name of the Data Store, such as `projects/x/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models.
@@ -26360,7 +27448,7 @@ export namespace discoveryengine_v1alpha {
26360
27448
  * {
26361
27449
  * // Required. The name of the branch to retrieve. Format: `projects/x/locations/global/dataStores/default_data_store/branches/some_branch_id`. "default_branch" can be used as a special branch_id, it returns the default branch that has been set for the document.
26362
27450
  * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/branches/my-branche',
26363
- * // The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
27451
+ * // The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
26364
27452
  * view: 'placeholder-value',
26365
27453
  * },
26366
27454
  * );
@@ -26519,7 +27607,7 @@ export namespace discoveryengine_v1alpha {
26519
27607
  * // Required. The parent data store resource name.
26520
27608
  * parent:
26521
27609
  * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
26522
- * // The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
27610
+ * // The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
26523
27611
  * view: 'placeholder-value',
26524
27612
  * },
26525
27613
  * );
@@ -26659,7 +27747,7 @@ export namespace discoveryengine_v1alpha {
26659
27747
  */
26660
27748
  name?: string;
26661
27749
  /**
26662
- * The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
27750
+ * The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
26663
27751
  */
26664
27752
  view?: string;
26665
27753
  }
@@ -26669,7 +27757,7 @@ export namespace discoveryengine_v1alpha {
26669
27757
  */
26670
27758
  parent?: string;
26671
27759
  /**
26672
- * The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
27760
+ * The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
26673
27761
  */
26674
27762
  view?: string;
26675
27763
  }
@@ -41340,6 +42428,7 @@ export namespace discoveryengine_v1alpha {
41340
42428
  * // "llmEnabled": false,
41341
42429
  * // "minimumDataTermAccepted": false,
41342
42430
  * // "name": "my_name",
42431
+ * // "nodes": [],
41343
42432
  * // "resultDisplayType": "my_resultDisplayType",
41344
42433
  * // "solutionType": "my_solutionType",
41345
42434
  * // "uiBranding": {},
@@ -41529,6 +42618,7 @@ export namespace discoveryengine_v1alpha {
41529
42618
  * // "llmEnabled": false,
41530
42619
  * // "minimumDataTermAccepted": false,
41531
42620
  * // "name": "my_name",
42621
+ * // "nodes": [],
41532
42622
  * // "resultDisplayType": "my_resultDisplayType",
41533
42623
  * // "solutionType": "my_solutionType",
41534
42624
  * // "uiBranding": {},
@@ -41573,6 +42663,7 @@ export namespace discoveryengine_v1alpha {
41573
42663
  * // "llmEnabled": false,
41574
42664
  * // "minimumDataTermAccepted": false,
41575
42665
  * // "name": "my_name",
42666
+ * // "nodes": [],
41576
42667
  * // "resultDisplayType": "my_resultDisplayType",
41577
42668
  * // "solutionType": "my_solutionType",
41578
42669
  * // "uiBranding": {},
@@ -41824,9 +42915,11 @@ export namespace discoveryengine_v1alpha {
41824
42915
  * // "displayName": "my_displayName",
41825
42916
  * // "features": {},
41826
42917
  * // "industryVertical": "my_industryVertical",
42918
+ * // "knowledgeGraphConfig": {},
41827
42919
  * // "mediaRecommendationEngineConfig": {},
41828
42920
  * // "modelConfigs": {},
41829
42921
  * // "name": "my_name",
42922
+ * // "observabilityConfig": {},
41830
42923
  * // "recommendationMetadata": {},
41831
42924
  * // "searchEngineConfig": {},
41832
42925
  * // "similarDocumentsConfig": {},
@@ -42149,9 +43242,11 @@ export namespace discoveryengine_v1alpha {
42149
43242
  * // "displayName": "my_displayName",
42150
43243
  * // "features": {},
42151
43244
  * // "industryVertical": "my_industryVertical",
43245
+ * // "knowledgeGraphConfig": {},
42152
43246
  * // "mediaRecommendationEngineConfig": {},
42153
43247
  * // "modelConfigs": {},
42154
43248
  * // "name": "my_name",
43249
+ * // "observabilityConfig": {},
42155
43250
  * // "recommendationMetadata": {},
42156
43251
  * // "searchEngineConfig": {},
42157
43252
  * // "similarDocumentsConfig": {},
@@ -42637,9 +43732,11 @@ export namespace discoveryengine_v1alpha {
42637
43732
  * // "displayName": "my_displayName",
42638
43733
  * // "features": {},
42639
43734
  * // "industryVertical": "my_industryVertical",
43735
+ * // "knowledgeGraphConfig": {},
42640
43736
  * // "mediaRecommendationEngineConfig": {},
42641
43737
  * // "modelConfigs": {},
42642
43738
  * // "name": "my_name",
43739
+ * // "observabilityConfig": {},
42643
43740
  * // "recommendationMetadata": {},
42644
43741
  * // "searchEngineConfig": {},
42645
43742
  * // "similarDocumentsConfig": {},
@@ -42664,9 +43761,11 @@ export namespace discoveryengine_v1alpha {
42664
43761
  * // "displayName": "my_displayName",
42665
43762
  * // "features": {},
42666
43763
  * // "industryVertical": "my_industryVertical",
43764
+ * // "knowledgeGraphConfig": {},
42667
43765
  * // "mediaRecommendationEngineConfig": {},
42668
43766
  * // "modelConfigs": {},
42669
43767
  * // "name": "my_name",
43768
+ * // "observabilityConfig": {},
42670
43769
  * // "recommendationMetadata": {},
42671
43770
  * // "searchEngineConfig": {},
42672
43771
  * // "similarDocumentsConfig": {},
@@ -42839,9 +43938,11 @@ export namespace discoveryengine_v1alpha {
42839
43938
  * // "displayName": "my_displayName",
42840
43939
  * // "features": {},
42841
43940
  * // "industryVertical": "my_industryVertical",
43941
+ * // "knowledgeGraphConfig": {},
42842
43942
  * // "mediaRecommendationEngineConfig": {},
42843
43943
  * // "modelConfigs": {},
42844
43944
  * // "name": "my_name",
43945
+ * // "observabilityConfig": {},
42845
43946
  * // "recommendationMetadata": {},
42846
43947
  * // "searchEngineConfig": {},
42847
43948
  * // "similarDocumentsConfig": {},
@@ -43017,9 +44118,11 @@ export namespace discoveryengine_v1alpha {
43017
44118
  * // "displayName": "my_displayName",
43018
44119
  * // "features": {},
43019
44120
  * // "industryVertical": "my_industryVertical",
44121
+ * // "knowledgeGraphConfig": {},
43020
44122
  * // "mediaRecommendationEngineConfig": {},
43021
44123
  * // "modelConfigs": {},
43022
44124
  * // "name": "my_name",
44125
+ * // "observabilityConfig": {},
43023
44126
  * // "recommendationMetadata": {},
43024
44127
  * // "searchEngineConfig": {},
43025
44128
  * // "similarDocumentsConfig": {},
@@ -43561,6 +44664,323 @@ export namespace discoveryengine_v1alpha {
43561
44664
  return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
43562
44665
  }
43563
44666
  }
44667
+
44668
+ /**
44669
+ * Gets the AnalyticsConfig.
44670
+ * @example
44671
+ * ```js
44672
+ * // Before running the sample:
44673
+ * // - Enable the API at:
44674
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
44675
+ * // - Login into gcloud by running:
44676
+ * // ```sh
44677
+ * // $ gcloud auth application-default login
44678
+ * // ```
44679
+ * // - Install the npm module by running:
44680
+ * // ```sh
44681
+ * // $ npm install googleapis
44682
+ * // ```
44683
+ *
44684
+ * const {google} = require('googleapis');
44685
+ * const discoveryengine = google.discoveryengine('v1alpha');
44686
+ *
44687
+ * async function main() {
44688
+ * const auth = new google.auth.GoogleAuth({
44689
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
44690
+ * scopes: [
44691
+ * 'https://www.googleapis.com/auth/cloud-platform',
44692
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
44693
+ * ],
44694
+ * });
44695
+ *
44696
+ * // Acquire an auth client, and bind it to all future calls
44697
+ * const authClient = await auth.getClient();
44698
+ * google.options({auth: authClient});
44699
+ *
44700
+ * // Do the magic
44701
+ * const res =
44702
+ * await discoveryengine.projects.locations.collections.engines.analytics.getConfig(
44703
+ * {
44704
+ * // Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
44705
+ * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/analytics/config',
44706
+ * },
44707
+ * );
44708
+ * console.log(res.data);
44709
+ *
44710
+ * // Example response
44711
+ * // {
44712
+ * // "name": "my_name",
44713
+ * // "userLevelMetricsEnabled": false
44714
+ * // }
44715
+ * }
44716
+ *
44717
+ * main().catch(e => {
44718
+ * console.error(e);
44719
+ * throw e;
44720
+ * });
44721
+ *
44722
+ * ```
44723
+ *
44724
+ * @param params - Parameters for request
44725
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
44726
+ * @param callback - Optional callback that handles the response.
44727
+ * @returns A promise if used with async/await, or void if used with a callback.
44728
+ */
44729
+ getConfig(
44730
+ params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig,
44731
+ options: StreamMethodOptions
44732
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
44733
+ getConfig(
44734
+ params?: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig,
44735
+ options?: MethodOptions
44736
+ ): Promise<
44737
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44738
+ >;
44739
+ getConfig(
44740
+ params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig,
44741
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
44742
+ callback: BodyResponseCallback<Readable>
44743
+ ): void;
44744
+ getConfig(
44745
+ params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig,
44746
+ options:
44747
+ | MethodOptions
44748
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>,
44749
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44750
+ ): void;
44751
+ getConfig(
44752
+ params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig,
44753
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44754
+ ): void;
44755
+ getConfig(
44756
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44757
+ ): void;
44758
+ getConfig(
44759
+ paramsOrCallback?:
44760
+ | Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig
44761
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44762
+ | BodyResponseCallback<Readable>,
44763
+ optionsOrCallback?:
44764
+ | MethodOptions
44765
+ | StreamMethodOptions
44766
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44767
+ | BodyResponseCallback<Readable>,
44768
+ callback?:
44769
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44770
+ | BodyResponseCallback<Readable>
44771
+ ):
44772
+ | void
44773
+ | Promise<
44774
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44775
+ >
44776
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
44777
+ let params = (paramsOrCallback ||
44778
+ {}) as Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig;
44779
+ let options = (optionsOrCallback || {}) as MethodOptions;
44780
+
44781
+ if (typeof paramsOrCallback === 'function') {
44782
+ callback = paramsOrCallback;
44783
+ params =
44784
+ {} as Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig;
44785
+ options = {};
44786
+ }
44787
+
44788
+ if (typeof optionsOrCallback === 'function') {
44789
+ callback = optionsOrCallback;
44790
+ options = {};
44791
+ }
44792
+
44793
+ const rootUrl =
44794
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
44795
+ const parameters = {
44796
+ options: Object.assign(
44797
+ {
44798
+ url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
44799
+ method: 'GET',
44800
+ apiVersion: '',
44801
+ },
44802
+ options
44803
+ ),
44804
+ params,
44805
+ requiredParams: ['name'],
44806
+ pathParams: ['name'],
44807
+ context: this.context,
44808
+ };
44809
+ if (callback) {
44810
+ createAPIRequest<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>(
44811
+ parameters,
44812
+ callback as BodyResponseCallback<unknown>
44813
+ );
44814
+ } else {
44815
+ return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>(
44816
+ parameters
44817
+ );
44818
+ }
44819
+ }
44820
+
44821
+ /**
44822
+ * Updates the AnalyticsConfig for analytics.
44823
+ * @example
44824
+ * ```js
44825
+ * // Before running the sample:
44826
+ * // - Enable the API at:
44827
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
44828
+ * // - Login into gcloud by running:
44829
+ * // ```sh
44830
+ * // $ gcloud auth application-default login
44831
+ * // ```
44832
+ * // - Install the npm module by running:
44833
+ * // ```sh
44834
+ * // $ npm install googleapis
44835
+ * // ```
44836
+ *
44837
+ * const {google} = require('googleapis');
44838
+ * const discoveryengine = google.discoveryengine('v1alpha');
44839
+ *
44840
+ * async function main() {
44841
+ * const auth = new google.auth.GoogleAuth({
44842
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
44843
+ * scopes: [
44844
+ * 'https://www.googleapis.com/auth/cloud-platform',
44845
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
44846
+ * ],
44847
+ * });
44848
+ *
44849
+ * // Acquire an auth client, and bind it to all future calls
44850
+ * const authClient = await auth.getClient();
44851
+ * google.options({auth: authClient});
44852
+ *
44853
+ * // Do the magic
44854
+ * const res =
44855
+ * await discoveryengine.projects.locations.collections.engines.analytics.updateConfig(
44856
+ * {
44857
+ * // Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
44858
+ * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/analytics/config',
44859
+ * // The list of fields of AnalyticsConfig to update. If not specified, the method will perform a full replacement.
44860
+ * updateMask: 'placeholder-value',
44861
+ *
44862
+ * // Request body metadata
44863
+ * requestBody: {
44864
+ * // request body parameters
44865
+ * // {
44866
+ * // "name": "my_name",
44867
+ * // "userLevelMetricsEnabled": false
44868
+ * // }
44869
+ * },
44870
+ * },
44871
+ * );
44872
+ * console.log(res.data);
44873
+ *
44874
+ * // Example response
44875
+ * // {
44876
+ * // "name": "my_name",
44877
+ * // "userLevelMetricsEnabled": false
44878
+ * // }
44879
+ * }
44880
+ *
44881
+ * main().catch(e => {
44882
+ * console.error(e);
44883
+ * throw e;
44884
+ * });
44885
+ *
44886
+ * ```
44887
+ *
44888
+ * @param params - Parameters for request
44889
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
44890
+ * @param callback - Optional callback that handles the response.
44891
+ * @returns A promise if used with async/await, or void if used with a callback.
44892
+ */
44893
+ updateConfig(
44894
+ params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig,
44895
+ options: StreamMethodOptions
44896
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
44897
+ updateConfig(
44898
+ params?: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig,
44899
+ options?: MethodOptions
44900
+ ): Promise<
44901
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44902
+ >;
44903
+ updateConfig(
44904
+ params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig,
44905
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
44906
+ callback: BodyResponseCallback<Readable>
44907
+ ): void;
44908
+ updateConfig(
44909
+ params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig,
44910
+ options:
44911
+ | MethodOptions
44912
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>,
44913
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44914
+ ): void;
44915
+ updateConfig(
44916
+ params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig,
44917
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44918
+ ): void;
44919
+ updateConfig(
44920
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44921
+ ): void;
44922
+ updateConfig(
44923
+ paramsOrCallback?:
44924
+ | Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig
44925
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44926
+ | BodyResponseCallback<Readable>,
44927
+ optionsOrCallback?:
44928
+ | MethodOptions
44929
+ | StreamMethodOptions
44930
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44931
+ | BodyResponseCallback<Readable>,
44932
+ callback?:
44933
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44934
+ | BodyResponseCallback<Readable>
44935
+ ):
44936
+ | void
44937
+ | Promise<
44938
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>
44939
+ >
44940
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
44941
+ let params = (paramsOrCallback ||
44942
+ {}) as Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig;
44943
+ let options = (optionsOrCallback || {}) as MethodOptions;
44944
+
44945
+ if (typeof paramsOrCallback === 'function') {
44946
+ callback = paramsOrCallback;
44947
+ params =
44948
+ {} as Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig;
44949
+ options = {};
44950
+ }
44951
+
44952
+ if (typeof optionsOrCallback === 'function') {
44953
+ callback = optionsOrCallback;
44954
+ options = {};
44955
+ }
44956
+
44957
+ const rootUrl =
44958
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
44959
+ const parameters = {
44960
+ options: Object.assign(
44961
+ {
44962
+ url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
44963
+ method: 'PATCH',
44964
+ apiVersion: '',
44965
+ },
44966
+ options
44967
+ ),
44968
+ params,
44969
+ requiredParams: ['name'],
44970
+ pathParams: ['name'],
44971
+ context: this.context,
44972
+ };
44973
+ if (callback) {
44974
+ createAPIRequest<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>(
44975
+ parameters,
44976
+ callback as BodyResponseCallback<unknown>
44977
+ );
44978
+ } else {
44979
+ return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>(
44980
+ parameters
44981
+ );
44982
+ }
44983
+ }
43564
44984
  }
43565
44985
 
43566
44986
  export interface Params$Resource$Projects$Locations$Collections$Engines$Analytics$Exportmetrics extends StandardParameters {
@@ -43574,6 +44994,27 @@ export namespace discoveryengine_v1alpha {
43574
44994
  */
43575
44995
  requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaExportMetricsRequest;
43576
44996
  }
44997
+ export interface Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig extends StandardParameters {
44998
+ /**
44999
+ * Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
45000
+ */
45001
+ name?: string;
45002
+ }
45003
+ export interface Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig extends StandardParameters {
45004
+ /**
45005
+ * Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
45006
+ */
45007
+ name?: string;
45008
+ /**
45009
+ * The list of fields of AnalyticsConfig to update. If not specified, the method will perform a full replacement.
45010
+ */
45011
+ updateMask?: string;
45012
+
45013
+ /**
45014
+ * Request body metadata
45015
+ */
45016
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig;
45017
+ }
43577
45018
 
43578
45019
  export class Resource$Projects$Locations$Collections$Engines$Assistants {
43579
45020
  context: APIRequestContext;
@@ -44285,7 +45726,7 @@ export namespace discoveryengine_v1alpha {
44285
45726
  * languageCode: 'placeholder-value',
44286
45727
  * // Optional. The maximum number of suggested prompts to return per agent.
44287
45728
  * maxSuggestedPrompts: 'placeholder-value',
44288
- * // Optional. Maximum number of AgentViewss to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
45729
+ * // Optional. Maximum number of AgentViews to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
44289
45730
  * pageSize: 'placeholder-value',
44290
45731
  * // Optional. A page token ListAvailableAgentViewsResponse.next_page_token, received from a previous AgentService.ListAvailableAgentViews call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAvailableAgentViews must match the call that provided the page token.
44291
45732
  * pageToken: 'placeholder-value',
@@ -44825,7 +46266,7 @@ export namespace discoveryengine_v1alpha {
44825
46266
  */
44826
46267
  maxSuggestedPrompts?: number;
44827
46268
  /**
44828
- * Optional. Maximum number of AgentViewss to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
46269
+ * Optional. Maximum number of AgentViews to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
44829
46270
  */
44830
46271
  pageSize?: number;
44831
46272
  /**
@@ -45275,6 +46716,8 @@ export namespace discoveryengine_v1alpha {
45275
46716
  * {
45276
46717
  * // Required. The name of the Agent to disable. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}/agents/{agent\}`
45277
46718
  * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/assistants/my-assistant/agents/my-agent',
46719
+ * // Optional. The Revision ID of the Agent to disable. If not specified, the latest revision will be disabled.
46720
+ * revisionId: 'placeholder-value',
45278
46721
  * },
45279
46722
  * );
45280
46723
  * console.log(res.data);
@@ -45449,6 +46892,8 @@ export namespace discoveryengine_v1alpha {
45449
46892
  * {
45450
46893
  * // Required. The name of the Agent to enable. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}/agents/{agent\}`
45451
46894
  * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/assistants/my-assistant/agents/my-agent',
46895
+ * // Optional. The Revision ID of the Agent to enable. If not specified, the latest revision will be enabled.
46896
+ * revisionId: 'placeholder-value',
45452
46897
  * },
45453
46898
  * );
45454
46899
  * console.log(res.data);
@@ -46791,12 +48236,20 @@ export namespace discoveryengine_v1alpha {
46791
48236
  * Required. The name of the Agent to disable. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}/agents/{agent\}`
46792
48237
  */
46793
48238
  name?: string;
48239
+ /**
48240
+ * Optional. The Revision ID of the Agent to disable. If not specified, the latest revision will be disabled.
48241
+ */
48242
+ revisionId?: string;
46794
48243
  }
46795
48244
  export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Enableagent extends StandardParameters {
46796
48245
  /**
46797
48246
  * Required. The name of the Agent to enable. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}/agents/{agent\}`
46798
48247
  */
46799
48248
  name?: string;
48249
+ /**
48250
+ * Optional. The Revision ID of the Agent to enable. If not specified, the latest revision will be enabled.
48251
+ */
48252
+ revisionId?: string;
46800
48253
  }
46801
48254
  export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Get extends StandardParameters {
46802
48255
  /**
@@ -54511,6 +55964,7 @@ export namespace discoveryengine_v1alpha {
54511
55964
  * // "llmEnabled": false,
54512
55965
  * // "minimumDataTermAccepted": false,
54513
55966
  * // "name": "my_name",
55967
+ * // "nodes": [],
54514
55968
  * // "resultDisplayType": "my_resultDisplayType",
54515
55969
  * // "solutionType": "my_solutionType",
54516
55970
  * // "uiBranding": {},
@@ -54700,6 +56154,7 @@ export namespace discoveryengine_v1alpha {
54700
56154
  * // "llmEnabled": false,
54701
56155
  * // "minimumDataTermAccepted": false,
54702
56156
  * // "name": "my_name",
56157
+ * // "nodes": [],
54703
56158
  * // "resultDisplayType": "my_resultDisplayType",
54704
56159
  * // "solutionType": "my_solutionType",
54705
56160
  * // "uiBranding": {},
@@ -54744,6 +56199,7 @@ export namespace discoveryengine_v1alpha {
54744
56199
  * // "llmEnabled": false,
54745
56200
  * // "minimumDataTermAccepted": false,
54746
56201
  * // "name": "my_name",
56202
+ * // "nodes": [],
54747
56203
  * // "resultDisplayType": "my_resultDisplayType",
54748
56204
  * // "solutionType": "my_solutionType",
54749
56205
  * // "uiBranding": {},
@@ -55297,6 +56753,167 @@ export namespace discoveryengine_v1alpha {
55297
56753
  new Resource$Projects$Locations$Datastores$Widgetconfigs(this.context);
55298
56754
  }
55299
56755
 
56756
+ /**
56757
+ * Adds a group of patient IDs as a patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
56758
+ * @example
56759
+ * ```js
56760
+ * // Before running the sample:
56761
+ * // - Enable the API at:
56762
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
56763
+ * // - Login into gcloud by running:
56764
+ * // ```sh
56765
+ * // $ gcloud auth application-default login
56766
+ * // ```
56767
+ * // - Install the npm module by running:
56768
+ * // ```sh
56769
+ * // $ npm install googleapis
56770
+ * // ```
56771
+ *
56772
+ * const {google} = require('googleapis');
56773
+ * const discoveryengine = google.discoveryengine('v1alpha');
56774
+ *
56775
+ * async function main() {
56776
+ * const auth = new google.auth.GoogleAuth({
56777
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
56778
+ * scopes: [
56779
+ * 'https://www.googleapis.com/auth/cloud-platform',
56780
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
56781
+ * ],
56782
+ * });
56783
+ *
56784
+ * // Acquire an auth client, and bind it to all future calls
56785
+ * const authClient = await auth.getClient();
56786
+ * google.options({auth: authClient});
56787
+ *
56788
+ * // Do the magic
56789
+ * const res =
56790
+ * await discoveryengine.projects.locations.dataStores.addPatientFilter({
56791
+ * // 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
56792
+ * dataStore:
56793
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
56794
+ *
56795
+ * // Request body metadata
56796
+ * requestBody: {
56797
+ * // request body parameters
56798
+ * // {
56799
+ * // "dataStore": "my_dataStore",
56800
+ * // "filterGroups": []
56801
+ * // }
56802
+ * },
56803
+ * });
56804
+ * console.log(res.data);
56805
+ *
56806
+ * // Example response
56807
+ * // {
56808
+ * // "done": false,
56809
+ * // "error": {},
56810
+ * // "metadata": {},
56811
+ * // "name": "my_name",
56812
+ * // "response": {}
56813
+ * // }
56814
+ * }
56815
+ *
56816
+ * main().catch(e => {
56817
+ * console.error(e);
56818
+ * throw e;
56819
+ * });
56820
+ *
56821
+ * ```
56822
+ *
56823
+ * @param params - Parameters for request
56824
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
56825
+ * @param callback - Optional callback that handles the response.
56826
+ * @returns A promise if used with async/await, or void if used with a callback.
56827
+ */
56828
+ addPatientFilter(
56829
+ params: Params$Resource$Projects$Locations$Datastores$Addpatientfilter,
56830
+ options: StreamMethodOptions
56831
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
56832
+ addPatientFilter(
56833
+ params?: Params$Resource$Projects$Locations$Datastores$Addpatientfilter,
56834
+ options?: MethodOptions
56835
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
56836
+ addPatientFilter(
56837
+ params: Params$Resource$Projects$Locations$Datastores$Addpatientfilter,
56838
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
56839
+ callback: BodyResponseCallback<Readable>
56840
+ ): void;
56841
+ addPatientFilter(
56842
+ params: Params$Resource$Projects$Locations$Datastores$Addpatientfilter,
56843
+ options:
56844
+ | MethodOptions
56845
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
56846
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
56847
+ ): void;
56848
+ addPatientFilter(
56849
+ params: Params$Resource$Projects$Locations$Datastores$Addpatientfilter,
56850
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
56851
+ ): void;
56852
+ addPatientFilter(
56853
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
56854
+ ): void;
56855
+ addPatientFilter(
56856
+ paramsOrCallback?:
56857
+ | Params$Resource$Projects$Locations$Datastores$Addpatientfilter
56858
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
56859
+ | BodyResponseCallback<Readable>,
56860
+ optionsOrCallback?:
56861
+ | MethodOptions
56862
+ | StreamMethodOptions
56863
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
56864
+ | BodyResponseCallback<Readable>,
56865
+ callback?:
56866
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
56867
+ | BodyResponseCallback<Readable>
56868
+ ):
56869
+ | void
56870
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
56871
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
56872
+ let params = (paramsOrCallback ||
56873
+ {}) as Params$Resource$Projects$Locations$Datastores$Addpatientfilter;
56874
+ let options = (optionsOrCallback || {}) as MethodOptions;
56875
+
56876
+ if (typeof paramsOrCallback === 'function') {
56877
+ callback = paramsOrCallback;
56878
+ params =
56879
+ {} as Params$Resource$Projects$Locations$Datastores$Addpatientfilter;
56880
+ options = {};
56881
+ }
56882
+
56883
+ if (typeof optionsOrCallback === 'function') {
56884
+ callback = optionsOrCallback;
56885
+ options = {};
56886
+ }
56887
+
56888
+ const rootUrl =
56889
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
56890
+ const parameters = {
56891
+ options: Object.assign(
56892
+ {
56893
+ url: (rootUrl + '/v1alpha/{+dataStore}:addPatientFilter').replace(
56894
+ /([^:]\/)\/+/g,
56895
+ '$1'
56896
+ ),
56897
+ method: 'POST',
56898
+ apiVersion: '',
56899
+ },
56900
+ options
56901
+ ),
56902
+ params,
56903
+ requiredParams: ['dataStore'],
56904
+ pathParams: ['dataStore'],
56905
+ context: this.context,
56906
+ };
56907
+ if (callback) {
56908
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
56909
+ parameters,
56910
+ callback as BodyResponseCallback<unknown>
56911
+ );
56912
+ } else {
56913
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
56914
+ }
56915
+ }
56916
+
55300
56917
  /**
55301
56918
  * Completes the specified user input with keyword suggestions.
55302
56919
  * @example
@@ -55800,6 +57417,165 @@ export namespace discoveryengine_v1alpha {
55800
57417
  }
55801
57418
  }
55802
57419
 
57420
+ /**
57421
+ * Deletes the entire patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter.
57422
+ * @example
57423
+ * ```js
57424
+ * // Before running the sample:
57425
+ * // - Enable the API at:
57426
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
57427
+ * // - Login into gcloud by running:
57428
+ * // ```sh
57429
+ * // $ gcloud auth application-default login
57430
+ * // ```
57431
+ * // - Install the npm module by running:
57432
+ * // ```sh
57433
+ * // $ npm install googleapis
57434
+ * // ```
57435
+ *
57436
+ * const {google} = require('googleapis');
57437
+ * const discoveryengine = google.discoveryengine('v1alpha');
57438
+ *
57439
+ * async function main() {
57440
+ * const auth = new google.auth.GoogleAuth({
57441
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
57442
+ * scopes: [
57443
+ * 'https://www.googleapis.com/auth/cloud-platform',
57444
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
57445
+ * ],
57446
+ * });
57447
+ *
57448
+ * // Acquire an auth client, and bind it to all future calls
57449
+ * const authClient = await auth.getClient();
57450
+ * google.options({auth: authClient});
57451
+ *
57452
+ * // Do the magic
57453
+ * const res =
57454
+ * await discoveryengine.projects.locations.dataStores.deletePatientFilter({
57455
+ * // 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned.
57456
+ * dataStore:
57457
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
57458
+ *
57459
+ * // Request body metadata
57460
+ * requestBody: {
57461
+ * // request body parameters
57462
+ * // {
57463
+ * // "dataStore": "my_dataStore"
57464
+ * // }
57465
+ * },
57466
+ * });
57467
+ * console.log(res.data);
57468
+ *
57469
+ * // Example response
57470
+ * // {
57471
+ * // "done": false,
57472
+ * // "error": {},
57473
+ * // "metadata": {},
57474
+ * // "name": "my_name",
57475
+ * // "response": {}
57476
+ * // }
57477
+ * }
57478
+ *
57479
+ * main().catch(e => {
57480
+ * console.error(e);
57481
+ * throw e;
57482
+ * });
57483
+ *
57484
+ * ```
57485
+ *
57486
+ * @param params - Parameters for request
57487
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
57488
+ * @param callback - Optional callback that handles the response.
57489
+ * @returns A promise if used with async/await, or void if used with a callback.
57490
+ */
57491
+ deletePatientFilter(
57492
+ params: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter,
57493
+ options: StreamMethodOptions
57494
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
57495
+ deletePatientFilter(
57496
+ params?: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter,
57497
+ options?: MethodOptions
57498
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
57499
+ deletePatientFilter(
57500
+ params: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter,
57501
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
57502
+ callback: BodyResponseCallback<Readable>
57503
+ ): void;
57504
+ deletePatientFilter(
57505
+ params: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter,
57506
+ options:
57507
+ | MethodOptions
57508
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
57509
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
57510
+ ): void;
57511
+ deletePatientFilter(
57512
+ params: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter,
57513
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
57514
+ ): void;
57515
+ deletePatientFilter(
57516
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
57517
+ ): void;
57518
+ deletePatientFilter(
57519
+ paramsOrCallback?:
57520
+ | Params$Resource$Projects$Locations$Datastores$Deletepatientfilter
57521
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
57522
+ | BodyResponseCallback<Readable>,
57523
+ optionsOrCallback?:
57524
+ | MethodOptions
57525
+ | StreamMethodOptions
57526
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
57527
+ | BodyResponseCallback<Readable>,
57528
+ callback?:
57529
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
57530
+ | BodyResponseCallback<Readable>
57531
+ ):
57532
+ | void
57533
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
57534
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
57535
+ let params = (paramsOrCallback ||
57536
+ {}) as Params$Resource$Projects$Locations$Datastores$Deletepatientfilter;
57537
+ let options = (optionsOrCallback || {}) as MethodOptions;
57538
+
57539
+ if (typeof paramsOrCallback === 'function') {
57540
+ callback = paramsOrCallback;
57541
+ params =
57542
+ {} as Params$Resource$Projects$Locations$Datastores$Deletepatientfilter;
57543
+ options = {};
57544
+ }
57545
+
57546
+ if (typeof optionsOrCallback === 'function') {
57547
+ callback = optionsOrCallback;
57548
+ options = {};
57549
+ }
57550
+
57551
+ const rootUrl =
57552
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
57553
+ const parameters = {
57554
+ options: Object.assign(
57555
+ {
57556
+ url: (
57557
+ rootUrl + '/v1alpha/{+dataStore}:deletePatientFilter'
57558
+ ).replace(/([^:]\/)\/+/g, '$1'),
57559
+ method: 'POST',
57560
+ apiVersion: '',
57561
+ },
57562
+ options
57563
+ ),
57564
+ params,
57565
+ requiredParams: ['dataStore'],
57566
+ pathParams: ['dataStore'],
57567
+ context: this.context,
57568
+ };
57569
+ if (callback) {
57570
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
57571
+ parameters,
57572
+ callback as BodyResponseCallback<unknown>
57573
+ );
57574
+ } else {
57575
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
57576
+ }
57577
+ }
57578
+
55803
57579
  /**
55804
57580
  * Gets a DataStore.
55805
57581
  * @example
@@ -56639,6 +58415,326 @@ export namespace discoveryengine_v1alpha {
56639
58415
  }
56640
58416
  }
56641
58417
 
58418
+ /**
58419
+ * Removes a group of patient IDs from the patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the list of patient IDs to remove will be constructed from the direct members of the group which are Patient resources.
58420
+ * @example
58421
+ * ```js
58422
+ * // Before running the sample:
58423
+ * // - Enable the API at:
58424
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
58425
+ * // - Login into gcloud by running:
58426
+ * // ```sh
58427
+ * // $ gcloud auth application-default login
58428
+ * // ```
58429
+ * // - Install the npm module by running:
58430
+ * // ```sh
58431
+ * // $ npm install googleapis
58432
+ * // ```
58433
+ *
58434
+ * const {google} = require('googleapis');
58435
+ * const discoveryengine = google.discoveryengine('v1alpha');
58436
+ *
58437
+ * async function main() {
58438
+ * const auth = new google.auth.GoogleAuth({
58439
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
58440
+ * scopes: [
58441
+ * 'https://www.googleapis.com/auth/cloud-platform',
58442
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
58443
+ * ],
58444
+ * });
58445
+ *
58446
+ * // Acquire an auth client, and bind it to all future calls
58447
+ * const authClient = await auth.getClient();
58448
+ * google.options({auth: authClient});
58449
+ *
58450
+ * // Do the magic
58451
+ * const res =
58452
+ * await discoveryengine.projects.locations.dataStores.removePatientFilter({
58453
+ * // 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned
58454
+ * dataStore:
58455
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
58456
+ *
58457
+ * // Request body metadata
58458
+ * requestBody: {
58459
+ * // request body parameters
58460
+ * // {
58461
+ * // "dataStore": "my_dataStore",
58462
+ * // "filterGroups": []
58463
+ * // }
58464
+ * },
58465
+ * });
58466
+ * console.log(res.data);
58467
+ *
58468
+ * // Example response
58469
+ * // {
58470
+ * // "done": false,
58471
+ * // "error": {},
58472
+ * // "metadata": {},
58473
+ * // "name": "my_name",
58474
+ * // "response": {}
58475
+ * // }
58476
+ * }
58477
+ *
58478
+ * main().catch(e => {
58479
+ * console.error(e);
58480
+ * throw e;
58481
+ * });
58482
+ *
58483
+ * ```
58484
+ *
58485
+ * @param params - Parameters for request
58486
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
58487
+ * @param callback - Optional callback that handles the response.
58488
+ * @returns A promise if used with async/await, or void if used with a callback.
58489
+ */
58490
+ removePatientFilter(
58491
+ params: Params$Resource$Projects$Locations$Datastores$Removepatientfilter,
58492
+ options: StreamMethodOptions
58493
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
58494
+ removePatientFilter(
58495
+ params?: Params$Resource$Projects$Locations$Datastores$Removepatientfilter,
58496
+ options?: MethodOptions
58497
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
58498
+ removePatientFilter(
58499
+ params: Params$Resource$Projects$Locations$Datastores$Removepatientfilter,
58500
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
58501
+ callback: BodyResponseCallback<Readable>
58502
+ ): void;
58503
+ removePatientFilter(
58504
+ params: Params$Resource$Projects$Locations$Datastores$Removepatientfilter,
58505
+ options:
58506
+ | MethodOptions
58507
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
58508
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
58509
+ ): void;
58510
+ removePatientFilter(
58511
+ params: Params$Resource$Projects$Locations$Datastores$Removepatientfilter,
58512
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
58513
+ ): void;
58514
+ removePatientFilter(
58515
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
58516
+ ): void;
58517
+ removePatientFilter(
58518
+ paramsOrCallback?:
58519
+ | Params$Resource$Projects$Locations$Datastores$Removepatientfilter
58520
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
58521
+ | BodyResponseCallback<Readable>,
58522
+ optionsOrCallback?:
58523
+ | MethodOptions
58524
+ | StreamMethodOptions
58525
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
58526
+ | BodyResponseCallback<Readable>,
58527
+ callback?:
58528
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
58529
+ | BodyResponseCallback<Readable>
58530
+ ):
58531
+ | void
58532
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
58533
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
58534
+ let params = (paramsOrCallback ||
58535
+ {}) as Params$Resource$Projects$Locations$Datastores$Removepatientfilter;
58536
+ let options = (optionsOrCallback || {}) as MethodOptions;
58537
+
58538
+ if (typeof paramsOrCallback === 'function') {
58539
+ callback = paramsOrCallback;
58540
+ params =
58541
+ {} as Params$Resource$Projects$Locations$Datastores$Removepatientfilter;
58542
+ options = {};
58543
+ }
58544
+
58545
+ if (typeof optionsOrCallback === 'function') {
58546
+ callback = optionsOrCallback;
58547
+ options = {};
58548
+ }
58549
+
58550
+ const rootUrl =
58551
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
58552
+ const parameters = {
58553
+ options: Object.assign(
58554
+ {
58555
+ url: (
58556
+ rootUrl + '/v1alpha/{+dataStore}:removePatientFilter'
58557
+ ).replace(/([^:]\/)\/+/g, '$1'),
58558
+ method: 'POST',
58559
+ apiVersion: '',
58560
+ },
58561
+ options
58562
+ ),
58563
+ params,
58564
+ requiredParams: ['dataStore'],
58565
+ pathParams: ['dataStore'],
58566
+ context: this.context,
58567
+ };
58568
+ if (callback) {
58569
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
58570
+ parameters,
58571
+ callback as BodyResponseCallback<unknown>
58572
+ );
58573
+ } else {
58574
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
58575
+ }
58576
+ }
58577
+
58578
+ /**
58579
+ * Replaces the patient filter for the data store. This method is essentially a combination of DeletePatientFilters and AddPatientFilter. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources.
58580
+ * @example
58581
+ * ```js
58582
+ * // Before running the sample:
58583
+ * // - Enable the API at:
58584
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
58585
+ * // - Login into gcloud by running:
58586
+ * // ```sh
58587
+ * // $ gcloud auth application-default login
58588
+ * // ```
58589
+ * // - Install the npm module by running:
58590
+ * // ```sh
58591
+ * // $ npm install googleapis
58592
+ * // ```
58593
+ *
58594
+ * const {google} = require('googleapis');
58595
+ * const discoveryengine = google.discoveryengine('v1alpha');
58596
+ *
58597
+ * async function main() {
58598
+ * const auth = new google.auth.GoogleAuth({
58599
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
58600
+ * scopes: [
58601
+ * 'https://www.googleapis.com/auth/cloud-platform',
58602
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
58603
+ * ],
58604
+ * });
58605
+ *
58606
+ * // Acquire an auth client, and bind it to all future calls
58607
+ * const authClient = await auth.getClient();
58608
+ * google.options({auth: authClient});
58609
+ *
58610
+ * // Do the magic
58611
+ * const res =
58612
+ * await discoveryengine.projects.locations.dataStores.replacePatientFilter({
58613
+ * // 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
58614
+ * dataStore:
58615
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
58616
+ *
58617
+ * // Request body metadata
58618
+ * requestBody: {
58619
+ * // request body parameters
58620
+ * // {
58621
+ * // "dataStore": "my_dataStore",
58622
+ * // "filterGroups": []
58623
+ * // }
58624
+ * },
58625
+ * });
58626
+ * console.log(res.data);
58627
+ *
58628
+ * // Example response
58629
+ * // {
58630
+ * // "done": false,
58631
+ * // "error": {},
58632
+ * // "metadata": {},
58633
+ * // "name": "my_name",
58634
+ * // "response": {}
58635
+ * // }
58636
+ * }
58637
+ *
58638
+ * main().catch(e => {
58639
+ * console.error(e);
58640
+ * throw e;
58641
+ * });
58642
+ *
58643
+ * ```
58644
+ *
58645
+ * @param params - Parameters for request
58646
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
58647
+ * @param callback - Optional callback that handles the response.
58648
+ * @returns A promise if used with async/await, or void if used with a callback.
58649
+ */
58650
+ replacePatientFilter(
58651
+ params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter,
58652
+ options: StreamMethodOptions
58653
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
58654
+ replacePatientFilter(
58655
+ params?: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter,
58656
+ options?: MethodOptions
58657
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
58658
+ replacePatientFilter(
58659
+ params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter,
58660
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
58661
+ callback: BodyResponseCallback<Readable>
58662
+ ): void;
58663
+ replacePatientFilter(
58664
+ params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter,
58665
+ options:
58666
+ | MethodOptions
58667
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
58668
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
58669
+ ): void;
58670
+ replacePatientFilter(
58671
+ params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter,
58672
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
58673
+ ): void;
58674
+ replacePatientFilter(
58675
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
58676
+ ): void;
58677
+ replacePatientFilter(
58678
+ paramsOrCallback?:
58679
+ | Params$Resource$Projects$Locations$Datastores$Replacepatientfilter
58680
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
58681
+ | BodyResponseCallback<Readable>,
58682
+ optionsOrCallback?:
58683
+ | MethodOptions
58684
+ | StreamMethodOptions
58685
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
58686
+ | BodyResponseCallback<Readable>,
58687
+ callback?:
58688
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
58689
+ | BodyResponseCallback<Readable>
58690
+ ):
58691
+ | void
58692
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
58693
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
58694
+ let params = (paramsOrCallback ||
58695
+ {}) as Params$Resource$Projects$Locations$Datastores$Replacepatientfilter;
58696
+ let options = (optionsOrCallback || {}) as MethodOptions;
58697
+
58698
+ if (typeof paramsOrCallback === 'function') {
58699
+ callback = paramsOrCallback;
58700
+ params =
58701
+ {} as Params$Resource$Projects$Locations$Datastores$Replacepatientfilter;
58702
+ options = {};
58703
+ }
58704
+
58705
+ if (typeof optionsOrCallback === 'function') {
58706
+ callback = optionsOrCallback;
58707
+ options = {};
58708
+ }
58709
+
58710
+ const rootUrl =
58711
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
58712
+ const parameters = {
58713
+ options: Object.assign(
58714
+ {
58715
+ url: (
58716
+ rootUrl + '/v1alpha/{+dataStore}:replacePatientFilter'
58717
+ ).replace(/([^:]\/)\/+/g, '$1'),
58718
+ method: 'POST',
58719
+ apiVersion: '',
58720
+ },
58721
+ options
58722
+ ),
58723
+ params,
58724
+ requiredParams: ['dataStore'],
58725
+ pathParams: ['dataStore'],
58726
+ context: this.context,
58727
+ };
58728
+ if (callback) {
58729
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
58730
+ parameters,
58731
+ callback as BodyResponseCallback<unknown>
58732
+ );
58733
+ } else {
58734
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
58735
+ }
58736
+ }
58737
+
56642
58738
  /**
56643
58739
  * Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig.
56644
58740
  * @example
@@ -56808,6 +58904,17 @@ export namespace discoveryengine_v1alpha {
56808
58904
  }
56809
58905
  }
56810
58906
 
58907
+ export interface Params$Resource$Projects$Locations$Datastores$Addpatientfilter extends StandardParameters {
58908
+ /**
58909
+ * 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
58910
+ */
58911
+ dataStore?: string;
58912
+
58913
+ /**
58914
+ * Request body metadata
58915
+ */
58916
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest;
58917
+ }
56811
58918
  export interface Params$Resource$Projects$Locations$Datastores$Completequery extends StandardParameters {
56812
58919
  /**
56813
58920
  * Required. The parent data store resource name for which the completion is performed, such as `projects/x/locations/global/collections/default_collection/dataStores/default_data_store`.
@@ -56867,6 +58974,17 @@ export namespace discoveryengine_v1alpha {
56867
58974
  */
56868
58975
  name?: string;
56869
58976
  }
58977
+ export interface Params$Resource$Projects$Locations$Datastores$Deletepatientfilter extends StandardParameters {
58978
+ /**
58979
+ * 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned.
58980
+ */
58981
+ dataStore?: string;
58982
+
58983
+ /**
58984
+ * Request body metadata
58985
+ */
58986
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest;
58987
+ }
56870
58988
  export interface Params$Resource$Projects$Locations$Datastores$Get extends StandardParameters {
56871
58989
  /**
56872
58990
  * 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.
@@ -56918,6 +59036,28 @@ export namespace discoveryengine_v1alpha {
56918
59036
  */
56919
59037
  requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaDataStore;
56920
59038
  }
59039
+ export interface Params$Resource$Projects$Locations$Datastores$Removepatientfilter extends StandardParameters {
59040
+ /**
59041
+ * 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. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned
59042
+ */
59043
+ dataStore?: string;
59044
+
59045
+ /**
59046
+ * Request body metadata
59047
+ */
59048
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest;
59049
+ }
59050
+ export interface Params$Resource$Projects$Locations$Datastores$Replacepatientfilter extends StandardParameters {
59051
+ /**
59052
+ * 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. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
59053
+ */
59054
+ dataStore?: string;
59055
+
59056
+ /**
59057
+ * Request body metadata
59058
+ */
59059
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest;
59060
+ }
56921
59061
  export interface Params$Resource$Projects$Locations$Datastores$Updatedocumentprocessingconfig extends StandardParameters {
56922
59062
  /**
56923
59063
  * The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
@@ -57145,7 +59285,7 @@ export namespace discoveryengine_v1alpha {
57145
59285
  * const res = await discoveryengine.projects.locations.dataStores.branches.get({
57146
59286
  * // Required. The name of the branch to retrieve. Format: `projects/x/locations/global/dataStores/default_data_store/branches/some_branch_id`. "default_branch" can be used as a special branch_id, it returns the default branch that has been set for the document.
57147
59287
  * name: 'projects/my-project/locations/my-location/dataStores/my-dataStore/branches/my-branche',
57148
- * // The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
59288
+ * // The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
57149
59289
  * view: 'placeholder-value',
57150
59290
  * });
57151
59291
  * console.log(res.data);
@@ -57302,7 +59442,7 @@ export namespace discoveryengine_v1alpha {
57302
59442
  * // Required. The parent data store resource name.
57303
59443
  * parent:
57304
59444
  * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
57305
- * // The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
59445
+ * // The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
57306
59446
  * view: 'placeholder-value',
57307
59447
  * },
57308
59448
  * );
@@ -57442,7 +59582,7 @@ export namespace discoveryengine_v1alpha {
57442
59582
  */
57443
59583
  name?: string;
57444
59584
  /**
57445
- * The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
59585
+ * The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
57446
59586
  */
57447
59587
  view?: string;
57448
59588
  }
@@ -57452,7 +59592,7 @@ export namespace discoveryengine_v1alpha {
57452
59592
  */
57453
59593
  parent?: string;
57454
59594
  /**
57455
- * The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
59595
+ * The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
57456
59596
  */
57457
59597
  view?: string;
57458
59598
  }
@@ -70123,6 +72263,7 @@ export namespace discoveryengine_v1alpha {
70123
72263
  * // "llmEnabled": false,
70124
72264
  * // "minimumDataTermAccepted": false,
70125
72265
  * // "name": "my_name",
72266
+ * // "nodes": [],
70126
72267
  * // "resultDisplayType": "my_resultDisplayType",
70127
72268
  * // "solutionType": "my_solutionType",
70128
72269
  * // "uiBranding": {},
@@ -70311,6 +72452,7 @@ export namespace discoveryengine_v1alpha {
70311
72452
  * // "llmEnabled": false,
70312
72453
  * // "minimumDataTermAccepted": false,
70313
72454
  * // "name": "my_name",
72455
+ * // "nodes": [],
70314
72456
  * // "resultDisplayType": "my_resultDisplayType",
70315
72457
  * // "solutionType": "my_solutionType",
70316
72458
  * // "uiBranding": {},
@@ -70354,6 +72496,7 @@ export namespace discoveryengine_v1alpha {
70354
72496
  * // "llmEnabled": false,
70355
72497
  * // "minimumDataTermAccepted": false,
70356
72498
  * // "name": "my_name",
72499
+ * // "nodes": [],
70357
72500
  * // "resultDisplayType": "my_resultDisplayType",
70358
72501
  * // "solutionType": "my_solutionType",
70359
72502
  * // "uiBranding": {},