@googleapis/discoveryengine 28.3.0 → 28.4.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.
@@ -564,6 +564,19 @@ export declare namespace discoveryengine_v1alpha {
564
564
  */
565
565
  useStaticSecrets?: boolean | null;
566
566
  }
567
+ /**
568
+ * Request for DataStoreService.AddPatientFilter method.
569
+ */
570
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest {
571
+ /**
572
+ * 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.
573
+ */
574
+ dataStore?: string | null;
575
+ /**
576
+ * 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.
577
+ */
578
+ filterGroups?: string[] | null;
579
+ }
567
580
  /**
568
581
  * Stores the definition of an agent that uses ADK and is deployed to Agent Engine (formerly known as Reasoning Engine).
569
582
  */
@@ -624,7 +637,7 @@ export declare namespace discoveryengine_v1alpha {
624
637
  userPseudoId?: string | null;
625
638
  }
626
639
  /**
627
- * Specification to boost suggestions based on the condtion of the suggestion.
640
+ * Specification to boost suggestions based on the condition of the suggestion.
628
641
  */
629
642
  export interface Schema$GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec {
630
643
  /**
@@ -985,6 +998,10 @@ export declare namespace discoveryengine_v1alpha {
985
998
  * The reason why the agent was suspended. Only set if the state is SUSPENDED.
986
999
  */
987
1000
  suspensionReason?: string | null;
1001
+ /**
1002
+ * Output only. The timestamp when the agent was last updated.
1003
+ */
1004
+ updateTime?: string | null;
988
1005
  /**
989
1006
  * Optional. Per-user annotations of the current caller for the agent.
990
1007
  */
@@ -1131,6 +1148,19 @@ export declare namespace discoveryengine_v1alpha {
1131
1148
  */
1132
1149
  tableId?: string | null;
1133
1150
  }
1151
+ /**
1152
+ * The customer controllable config for Analytics.
1153
+ */
1154
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig {
1155
+ /**
1156
+ * Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
1157
+ */
1158
+ name?: string | null;
1159
+ /**
1160
+ * Whether user-level metrics are enabled.
1161
+ */
1162
+ userLevelMetricsEnabled?: boolean | null;
1163
+ }
1134
1164
  /**
1135
1165
  * Defines an answer.
1136
1166
  */
@@ -2123,7 +2153,7 @@ export declare namespace discoveryengine_v1alpha {
2123
2153
  */
2124
2154
  groundedContent?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent;
2125
2155
  /**
2126
- * 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.
2156
+ * 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.
2127
2157
  */
2128
2158
  replyId?: string | null;
2129
2159
  }
@@ -2511,7 +2541,7 @@ export declare namespace discoveryengine_v1alpha {
2511
2541
  */
2512
2542
  pkceVerificationEnabled?: boolean | null;
2513
2543
  /**
2514
- * Required. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events`
2544
+ * 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.
2515
2545
  */
2516
2546
  scopes?: string[] | null;
2517
2547
  /**
@@ -2855,7 +2885,7 @@ export declare namespace discoveryengine_v1alpha {
2855
2885
  */
2856
2886
  export interface Schema$GoogleCloudDiscoveryengineV1alphaBranch {
2857
2887
  /**
2858
- * Output only. Stistics describing a branch. This field is not populated in BranchView.BASIC view.
2888
+ * Output only. Statistics describing a branch. This field is not populated in BranchView.BRANCH_VIEW_BASIC view.
2859
2889
  */
2860
2890
  branchStats?: Schema$GoogleCloudDiscoveryengineV1alphaBranchBranchStats;
2861
2891
  /**
@@ -4551,6 +4581,15 @@ export declare namespace discoveryengine_v1alpha {
4551
4581
  */
4552
4582
  updateTime?: string | null;
4553
4583
  }
4584
+ /**
4585
+ * Request for DataStoreService.DeletePatientFilters method.
4586
+ */
4587
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest {
4588
+ /**
4589
+ * 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.
4590
+ */
4591
+ dataStore?: string | null;
4592
+ }
4554
4593
  /**
4555
4594
  * Metadata for DeleteSchema LRO.
4556
4595
  */
@@ -5055,7 +5094,7 @@ export declare namespace discoveryengine_v1alpha {
5055
5094
  */
5056
5095
  displayName?: string | null;
5057
5096
  /**
5058
- * 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`
5097
+ * 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`
5059
5098
  */
5060
5099
  features?: {
5061
5100
  [key: string]: string;
@@ -5064,6 +5103,10 @@ export declare namespace discoveryengine_v1alpha {
5064
5103
  * 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.
5065
5104
  */
5066
5105
  industryVertical?: string | null;
5106
+ /**
5107
+ * Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
5108
+ */
5109
+ knowledgeGraphConfig?: Schema$GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig;
5067
5110
  /**
5068
5111
  * Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
5069
5112
  */
@@ -5155,6 +5198,52 @@ export declare namespace discoveryengine_v1alpha {
5155
5198
  */
5156
5199
  companyName?: string | null;
5157
5200
  }
5201
+ /**
5202
+ * Configuration message for the Knowledge Graph.
5203
+ */
5204
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig {
5205
+ /**
5206
+ * Specify entity types to support.
5207
+ */
5208
+ cloudKnowledgeGraphTypes?: string[] | null;
5209
+ /**
5210
+ * Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.
5211
+ */
5212
+ enableCloudKnowledgeGraph?: boolean | null;
5213
+ /**
5214
+ * Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.
5215
+ */
5216
+ enablePrivateKnowledgeGraph?: boolean | null;
5217
+ /**
5218
+ * Optional. Feature config for the Knowledge Graph.
5219
+ */
5220
+ featureConfig?: Schema$GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig;
5221
+ /**
5222
+ * Specify entity types to support.
5223
+ */
5224
+ privateKnowledgeGraphTypes?: string[] | null;
5225
+ }
5226
+ /**
5227
+ * Feature config for the Knowledge Graph.
5228
+ */
5229
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig {
5230
+ /**
5231
+ * Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.
5232
+ */
5233
+ disablePrivateKgAutoComplete?: boolean | null;
5234
+ /**
5235
+ * Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.
5236
+ */
5237
+ disablePrivateKgEnrichment?: boolean | null;
5238
+ /**
5239
+ * Whether to disable the private KG for query UI chips. Defaults to false if not specified.
5240
+ */
5241
+ disablePrivateKgQueryUiChips?: boolean | null;
5242
+ /**
5243
+ * Whether to disable the private KG query understanding for the engine. Defaults to false if not specified.
5244
+ */
5245
+ disablePrivateKgQueryUnderstanding?: boolean | null;
5246
+ }
5158
5247
  /**
5159
5248
  * Additional config specs for a Media Recommendation engine.
5160
5249
  */
@@ -5822,6 +5911,10 @@ export declare namespace discoveryengine_v1alpha {
5822
5911
  * 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.
5823
5912
  */
5824
5913
  enableStaticIndexingForBatchIngestion?: boolean | null;
5914
+ /**
5915
+ * 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.
5916
+ */
5917
+ initialFilterGroups?: string[] | null;
5825
5918
  }
5826
5919
  /**
5827
5920
  * Identity Mapping Entry that maps an external identity to an internal identity.
@@ -6756,7 +6849,7 @@ export declare namespace discoveryengine_v1alpha {
6756
6849
  nextPageToken?: string | null;
6757
6850
  }
6758
6851
  /**
6759
- * Response message for UserLicenseService.ListLicenseConfigUsageStats method.
6852
+ * Response message for UserLicenseService.ListLicenseConfigsUsageStats method.
6760
6853
  */
6761
6854
  export interface Schema$GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse {
6762
6855
  /**
@@ -7009,6 +7102,27 @@ export declare namespace discoveryengine_v1alpha {
7009
7102
  */
7010
7103
  totalPanels?: number | null;
7011
7104
  }
7105
+ /**
7106
+ * Metadata related to the progress of the various patient filter operations. This will be returned by the google.longrunning.Operation.metadata field.
7107
+ */
7108
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata {
7109
+ /**
7110
+ * Operation create time.
7111
+ */
7112
+ createTime?: string | null;
7113
+ /**
7114
+ * The number of patient IDs added to the patient filter.
7115
+ */
7116
+ filtersAddedCount?: string | null;
7117
+ /**
7118
+ * The number of patient IDs removed from the patient filter.
7119
+ */
7120
+ filtersRemovedCount?: string | null;
7121
+ /**
7122
+ * Operation last update time. If the operation is done, this is also the finish time.
7123
+ */
7124
+ updateTime?: string | null;
7125
+ }
7012
7126
  /**
7013
7127
  * Request for pausing training of an engine.
7014
7128
  */
@@ -7087,10 +7201,22 @@ export declare namespace discoveryengine_v1alpha {
7087
7201
  * Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.
7088
7202
  */
7089
7203
  effectiveSearchQpmThreshold?: string | null;
7204
+ /**
7205
+ * 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.
7206
+ */
7207
+ indexingCoreThresholdNextUpdateTime?: string | null;
7208
+ /**
7209
+ * 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.
7210
+ */
7211
+ searchQpmThresholdNextUpdateTime?: string | null;
7090
7212
  /**
7091
7213
  * Optional. The start time of the currently active billing subscription.
7092
7214
  */
7093
7215
  startTime?: string | null;
7216
+ /**
7217
+ * Output only. The latest terminate effective time of search qpm and indexing core subscriptions.
7218
+ */
7219
+ terminateTime?: string | null;
7094
7220
  }
7095
7221
  /**
7096
7222
  * Customer provided configurations.
@@ -7784,6 +7910,19 @@ export declare namespace discoveryengine_v1alpha {
7784
7910
  */
7785
7911
  state?: string | null;
7786
7912
  }
7913
+ /**
7914
+ * Request for DataStoreService.RemovePatientFilter method.
7915
+ */
7916
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest {
7917
+ /**
7918
+ * 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
7919
+ */
7920
+ dataStore?: string | null;
7921
+ /**
7922
+ * 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.
7923
+ */
7924
+ filterGroups?: string[] | null;
7925
+ }
7787
7926
  /**
7788
7927
  * Request message for CompletionService.RemoveSuggestion method.
7789
7928
  */
@@ -7814,6 +7953,19 @@ export declare namespace discoveryengine_v1alpha {
7814
7953
  */
7815
7954
  export interface Schema$GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse {
7816
7955
  }
7956
+ /**
7957
+ * Request for DataStoreService.ReplacePatientFilter method.
7958
+ */
7959
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest {
7960
+ /**
7961
+ * 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.
7962
+ */
7963
+ dataStore?: string | null;
7964
+ /**
7965
+ * 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.
7966
+ */
7967
+ filterGroups?: string[] | null;
7968
+ }
7817
7969
  /**
7818
7970
  * Defines a reply message to user.
7819
7971
  */
@@ -8248,7 +8400,7 @@ export declare namespace discoveryengine_v1alpha {
8248
8400
  */
8249
8401
  orderBy?: string | null;
8250
8402
  /**
8251
- * 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`
8403
+ * 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`
8252
8404
  */
8253
8405
  pageCategories?: string[] | null;
8254
8406
  /**
@@ -8705,7 +8857,7 @@ export declare namespace discoveryengine_v1alpha {
8705
8857
  */
8706
8858
  allowedFieldNames?: string[] | null;
8707
8859
  /**
8708
- * 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.
8860
+ * 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.
8709
8861
  */
8710
8862
  extractedFilterBehavior?: string | null;
8711
8863
  /**
@@ -8848,7 +9000,7 @@ export declare namespace discoveryengine_v1alpha {
8848
9000
  */
8849
9001
  guidedSearchResult?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult;
8850
9002
  /**
8851
- * Natural language query understanding information for the returned results.
9003
+ * Output only. Natural language query understanding information for the returned results.
8852
9004
  */
8853
9005
  naturalLanguageQueryUnderstandingInfo?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo;
8854
9006
  /**
@@ -10554,6 +10706,10 @@ export declare namespace discoveryengine_v1alpha {
10554
10706
  * 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.
10555
10707
  */
10556
10708
  name?: string | null;
10709
+ /**
10710
+ * Output only. The nodes associated with the Widget Config.
10711
+ */
10712
+ nodes?: Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigNode[];
10557
10713
  /**
10558
10714
  * 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.
10559
10715
  */
@@ -10650,7 +10806,7 @@ export declare namespace discoveryengine_v1alpha {
10650
10806
  */
10651
10807
  id?: string | null;
10652
10808
  /**
10653
- * 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.
10809
+ * 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.
10654
10810
  */
10655
10811
  name?: string | null;
10656
10812
  }
@@ -10688,7 +10844,7 @@ export declare namespace discoveryengine_v1alpha {
10688
10844
  */
10689
10845
  id?: string | null;
10690
10846
  /**
10691
- * 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.
10847
+ * 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.
10692
10848
  */
10693
10849
  name?: string | null;
10694
10850
  /**
@@ -10715,7 +10871,7 @@ export declare namespace discoveryengine_v1alpha {
10715
10871
  */
10716
10872
  id?: string | null;
10717
10873
  /**
10718
- * 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.
10874
+ * 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.
10719
10875
  */
10720
10876
  name?: string | null;
10721
10877
  }
@@ -10767,6 +10923,39 @@ export declare namespace discoveryengine_v1alpha {
10767
10923
  */
10768
10924
  url?: string | null;
10769
10925
  }
10926
+ /**
10927
+ * Represents a single reusable computational or logical unit.
10928
+ */
10929
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigNode {
10930
+ /**
10931
+ * Output only. A detailed description of what the node does.
10932
+ */
10933
+ description?: string | null;
10934
+ /**
10935
+ * Output only. A human readable name for the node.
10936
+ */
10937
+ displayName?: string | null;
10938
+ /**
10939
+ * Output only. An identifier or URL pointing to an icon representing this node type.
10940
+ */
10941
+ iconUrl?: string | null;
10942
+ /**
10943
+ * 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.
10944
+ */
10945
+ outputSchema?: {
10946
+ [key: string]: any;
10947
+ } | null;
10948
+ /**
10949
+ * 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.
10950
+ */
10951
+ parameterSchema?: {
10952
+ [key: string]: any;
10953
+ } | null;
10954
+ /**
10955
+ * Output only. The type of the node.
10956
+ */
10957
+ type?: string | null;
10958
+ }
10770
10959
  /**
10771
10960
  * Describes widget UI branding settings.
10772
10961
  */
@@ -10838,7 +11027,7 @@ export declare namespace discoveryengine_v1alpha {
10838
11027
  */
10839
11028
  enableVisualContentSummary?: boolean | null;
10840
11029
  /**
10841
- * 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`
11030
+ * 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`
10842
11031
  */
10843
11032
  features?: {
10844
11033
  [key: string]: string;
@@ -12036,7 +12225,7 @@ export declare namespace discoveryengine_v1alpha {
12036
12225
  */
12037
12226
  displayName?: string | null;
12038
12227
  /**
12039
- * 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`
12228
+ * 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`
12040
12229
  */
12041
12230
  features?: {
12042
12231
  [key: string]: string;
@@ -12045,6 +12234,10 @@ export declare namespace discoveryengine_v1alpha {
12045
12234
  * 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.
12046
12235
  */
12047
12236
  industryVertical?: string | null;
12237
+ /**
12238
+ * Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
12239
+ */
12240
+ knowledgeGraphConfig?: Schema$GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig;
12048
12241
  /**
12049
12242
  * Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
12050
12243
  */
@@ -12128,6 +12321,52 @@ export declare namespace discoveryengine_v1alpha {
12128
12321
  */
12129
12322
  companyName?: string | null;
12130
12323
  }
12324
+ /**
12325
+ * Configuration message for the Knowledge Graph.
12326
+ */
12327
+ export interface Schema$GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig {
12328
+ /**
12329
+ * Specify entity types to support.
12330
+ */
12331
+ cloudKnowledgeGraphTypes?: string[] | null;
12332
+ /**
12333
+ * Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.
12334
+ */
12335
+ enableCloudKnowledgeGraph?: boolean | null;
12336
+ /**
12337
+ * Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.
12338
+ */
12339
+ enablePrivateKnowledgeGraph?: boolean | null;
12340
+ /**
12341
+ * Optional. Feature config for the Knowledge Graph.
12342
+ */
12343
+ featureConfig?: Schema$GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig;
12344
+ /**
12345
+ * Specify entity types to support.
12346
+ */
12347
+ privateKnowledgeGraphTypes?: string[] | null;
12348
+ }
12349
+ /**
12350
+ * Feature config for the Knowledge Graph.
12351
+ */
12352
+ export interface Schema$GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig {
12353
+ /**
12354
+ * Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.
12355
+ */
12356
+ disablePrivateKgAutoComplete?: boolean | null;
12357
+ /**
12358
+ * Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.
12359
+ */
12360
+ disablePrivateKgEnrichment?: boolean | null;
12361
+ /**
12362
+ * Whether to disable the private KG for query UI chips. Defaults to false if not specified.
12363
+ */
12364
+ disablePrivateKgQueryUiChips?: boolean | null;
12365
+ /**
12366
+ * Whether to disable the private KG query understanding for the engine. Defaults to false if not specified.
12367
+ */
12368
+ disablePrivateKgQueryUnderstanding?: boolean | null;
12369
+ }
12131
12370
  /**
12132
12371
  * Additional config specs for a Media Recommendation engine.
12133
12372
  */
@@ -12285,6 +12524,10 @@ export declare namespace discoveryengine_v1alpha {
12285
12524
  * 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.
12286
12525
  */
12287
12526
  enableStaticIndexingForBatchIngestion?: boolean | null;
12527
+ /**
12528
+ * 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.
12529
+ */
12530
+ initialFilterGroups?: string[] | null;
12288
12531
  }
12289
12532
  /**
12290
12533
  * IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings
@@ -12698,10 +12941,22 @@ export declare namespace discoveryengine_v1alpha {
12698
12941
  * Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.
12699
12942
  */
12700
12943
  effectiveSearchQpmThreshold?: string | null;
12944
+ /**
12945
+ * 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.
12946
+ */
12947
+ indexingCoreThresholdNextUpdateTime?: string | null;
12948
+ /**
12949
+ * 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.
12950
+ */
12951
+ searchQpmThresholdNextUpdateTime?: string | null;
12701
12952
  /**
12702
12953
  * Optional. The start time of the currently active billing subscription.
12703
12954
  */
12704
12955
  startTime?: string | null;
12956
+ /**
12957
+ * Output only. The latest terminate effective time of search qpm and indexing core subscriptions.
12958
+ */
12959
+ terminateTime?: string | null;
12705
12960
  }
12706
12961
  /**
12707
12962
  * Customer provided configurations.
@@ -13021,7 +13276,7 @@ export declare namespace discoveryengine_v1alpha {
13021
13276
  */
13022
13277
  orderBy?: string | null;
13023
13278
  /**
13024
- * 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`
13279
+ * 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`
13025
13280
  */
13026
13281
  pageCategories?: string[] | null;
13027
13282
  /**
@@ -13474,7 +13729,7 @@ export declare namespace discoveryengine_v1alpha {
13474
13729
  */
13475
13730
  allowedFieldNames?: string[] | null;
13476
13731
  /**
13477
- * 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.
13732
+ * 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.
13478
13733
  */
13479
13734
  extractedFilterBehavior?: string | null;
13480
13735
  /**
@@ -14954,7 +15209,7 @@ export declare namespace discoveryengine_v1alpha {
14954
15209
  */
14955
15210
  displayName?: string | null;
14956
15211
  /**
14957
- * 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`
15212
+ * 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`
14958
15213
  */
14959
15214
  features?: {
14960
15215
  [key: string]: string;
@@ -14963,6 +15218,10 @@ export declare namespace discoveryengine_v1alpha {
14963
15218
  * 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.
14964
15219
  */
14965
15220
  industryVertical?: string | null;
15221
+ /**
15222
+ * Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
15223
+ */
15224
+ knowledgeGraphConfig?: Schema$GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig;
14966
15225
  /**
14967
15226
  * Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
14968
15227
  */
@@ -15046,6 +15305,52 @@ export declare namespace discoveryengine_v1alpha {
15046
15305
  */
15047
15306
  companyName?: string | null;
15048
15307
  }
15308
+ /**
15309
+ * Configuration message for the Knowledge Graph.
15310
+ */
15311
+ export interface Schema$GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig {
15312
+ /**
15313
+ * Specify entity types to support.
15314
+ */
15315
+ cloudKnowledgeGraphTypes?: string[] | null;
15316
+ /**
15317
+ * Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.
15318
+ */
15319
+ enableCloudKnowledgeGraph?: boolean | null;
15320
+ /**
15321
+ * Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.
15322
+ */
15323
+ enablePrivateKnowledgeGraph?: boolean | null;
15324
+ /**
15325
+ * Optional. Feature config for the Knowledge Graph.
15326
+ */
15327
+ featureConfig?: Schema$GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig;
15328
+ /**
15329
+ * Specify entity types to support.
15330
+ */
15331
+ privateKnowledgeGraphTypes?: string[] | null;
15332
+ }
15333
+ /**
15334
+ * Feature config for the Knowledge Graph.
15335
+ */
15336
+ export interface Schema$GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig {
15337
+ /**
15338
+ * Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.
15339
+ */
15340
+ disablePrivateKgAutoComplete?: boolean | null;
15341
+ /**
15342
+ * Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.
15343
+ */
15344
+ disablePrivateKgEnrichment?: boolean | null;
15345
+ /**
15346
+ * Whether to disable the private KG for query UI chips. Defaults to false if not specified.
15347
+ */
15348
+ disablePrivateKgQueryUiChips?: boolean | null;
15349
+ /**
15350
+ * Whether to disable the private KG query understanding for the engine. Defaults to false if not specified.
15351
+ */
15352
+ disablePrivateKgQueryUnderstanding?: boolean | null;
15353
+ }
15049
15354
  /**
15050
15355
  * Additional config specs for a Media Recommendation engine.
15051
15356
  */
@@ -15144,6 +15449,10 @@ export declare namespace discoveryengine_v1alpha {
15144
15449
  * 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.
15145
15450
  */
15146
15451
  enableStaticIndexingForBatchIngestion?: boolean | null;
15452
+ /**
15453
+ * 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.
15454
+ */
15455
+ initialFilterGroups?: string[] | null;
15147
15456
  }
15148
15457
  /**
15149
15458
  * IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings
@@ -15456,10 +15765,22 @@ export declare namespace discoveryengine_v1alpha {
15456
15765
  * Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.
15457
15766
  */
15458
15767
  effectiveSearchQpmThreshold?: string | null;
15768
+ /**
15769
+ * 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.
15770
+ */
15771
+ indexingCoreThresholdNextUpdateTime?: string | null;
15772
+ /**
15773
+ * 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.
15774
+ */
15775
+ searchQpmThresholdNextUpdateTime?: string | null;
15459
15776
  /**
15460
15777
  * Optional. The start time of the currently active billing subscription.
15461
15778
  */
15462
15779
  startTime?: string | null;
15780
+ /**
15781
+ * Output only. The latest terminate effective time of search qpm and indexing core subscriptions.
15782
+ */
15783
+ terminateTime?: string | null;
15463
15784
  }
15464
15785
  /**
15465
15786
  * Customer provided configurations.
@@ -16308,7 +16629,7 @@ export declare namespace discoveryengine_v1alpha {
16308
16629
  names?: string[] | null;
16309
16630
  }
16310
16631
  /**
16311
- * Request for SourceService.BatchDeleteSourcesRequest method.
16632
+ * Request for BatchDeleteSourcesRequest method.
16312
16633
  */
16313
16634
  export interface Schema$GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest {
16314
16635
  /**
@@ -16363,10 +16684,18 @@ export declare namespace discoveryengine_v1alpha {
16363
16684
  * Indicates an error occurred while ingesting the source.
16364
16685
  */
16365
16686
  ingestionError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonIngestionError;
16687
+ /**
16688
+ * Indicates that the source MIME type is blocked.
16689
+ */
16690
+ mimeTypeBlocked?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked;
16366
16691
  /**
16367
16692
  * Indicates that the source is paywalled and cannot be ingested.
16368
16693
  */
16369
16694
  paywallError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonPaywallError;
16695
+ /**
16696
+ * Indicates that the policy check failed.
16697
+ */
16698
+ policyCheckFailed?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed;
16370
16699
  /**
16371
16700
  * Indicates that the source is empty.
16372
16701
  */
@@ -16443,11 +16772,21 @@ export declare namespace discoveryengine_v1alpha {
16443
16772
  */
16444
16773
  export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonIngestionError {
16445
16774
  }
16775
+ /**
16776
+ * Indicates that the source MIME type is blocked.
16777
+ */
16778
+ export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked {
16779
+ }
16446
16780
  /**
16447
16781
  * Indicates that the source is paywalled and cannot be ingested.
16448
16782
  */
16449
16783
  export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonPaywallError {
16450
16784
  }
16785
+ /**
16786
+ * Indicates that the policy check failed.
16787
+ */
16788
+ export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed {
16789
+ }
16451
16790
  /**
16452
16791
  * Indicates that the source is empty.
16453
16792
  */
@@ -17541,7 +17880,7 @@ export declare namespace discoveryengine_v1alpha {
17541
17880
  * const res = await discoveryengine.projects.patch({
17542
17881
  * // 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.
17543
17882
  * name: 'projects/my-project',
17544
- * // Optional. The list of fields to update. Supported fields: * `customer_provided_config`
17883
+ * // Optional. The list of fields to update. Supported fields: * `customer_provided_config` * `customer_provided_config.notebooklm_config.observability_config`
17545
17884
  * updateMask: 'placeholder-value',
17546
17885
  *
17547
17886
  * // Request body metadata
@@ -17756,7 +18095,7 @@ export declare namespace discoveryengine_v1alpha {
17756
18095
  */
17757
18096
  name?: string;
17758
18097
  /**
17759
- * Optional. The list of fields to update. Supported fields: * `customer_provided_config`
18098
+ * Optional. The list of fields to update. Supported fields: * `customer_provided_config` * `customer_provided_config.notebooklm_config.observability_config`
17760
18099
  */
17761
18100
  updateMask?: string;
17762
18101
  /**
@@ -20781,6 +21120,86 @@ export declare namespace discoveryengine_v1alpha {
20781
21120
  userEvents: Resource$Projects$Locations$Collections$Datastores$Userevents;
20782
21121
  widgetConfigs: Resource$Projects$Locations$Collections$Datastores$Widgetconfigs;
20783
21122
  constructor(context: APIRequestContext);
21123
+ /**
21124
+ * 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.
21125
+ * @example
21126
+ * ```js
21127
+ * // Before running the sample:
21128
+ * // - Enable the API at:
21129
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
21130
+ * // - Login into gcloud by running:
21131
+ * // ```sh
21132
+ * // $ gcloud auth application-default login
21133
+ * // ```
21134
+ * // - Install the npm module by running:
21135
+ * // ```sh
21136
+ * // $ npm install googleapis
21137
+ * // ```
21138
+ *
21139
+ * const {google} = require('googleapis');
21140
+ * const discoveryengine = google.discoveryengine('v1alpha');
21141
+ *
21142
+ * async function main() {
21143
+ * const auth = new google.auth.GoogleAuth({
21144
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
21145
+ * scopes: [
21146
+ * 'https://www.googleapis.com/auth/cloud-platform',
21147
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
21148
+ * ],
21149
+ * });
21150
+ *
21151
+ * // Acquire an auth client, and bind it to all future calls
21152
+ * const authClient = await auth.getClient();
21153
+ * google.options({auth: authClient});
21154
+ *
21155
+ * // Do the magic
21156
+ * const res =
21157
+ * await discoveryengine.projects.locations.collections.dataStores.addPatientFilter(
21158
+ * {
21159
+ * // 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.
21160
+ * dataStore:
21161
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
21162
+ *
21163
+ * // Request body metadata
21164
+ * requestBody: {
21165
+ * // request body parameters
21166
+ * // {
21167
+ * // "dataStore": "my_dataStore",
21168
+ * // "filterGroups": []
21169
+ * // }
21170
+ * },
21171
+ * },
21172
+ * );
21173
+ * console.log(res.data);
21174
+ *
21175
+ * // Example response
21176
+ * // {
21177
+ * // "done": false,
21178
+ * // "error": {},
21179
+ * // "metadata": {},
21180
+ * // "name": "my_name",
21181
+ * // "response": {}
21182
+ * // }
21183
+ * }
21184
+ *
21185
+ * main().catch(e => {
21186
+ * console.error(e);
21187
+ * throw e;
21188
+ * });
21189
+ *
21190
+ * ```
21191
+ *
21192
+ * @param params - Parameters for request
21193
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
21194
+ * @param callback - Optional callback that handles the response.
21195
+ * @returns A promise if used with async/await, or void if used with a callback.
21196
+ */
21197
+ addPatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
21198
+ addPatientFilter(params?: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
21199
+ addPatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
21200
+ addPatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
21201
+ addPatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
21202
+ addPatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
20784
21203
  /**
20785
21204
  * Completes the specified user input with keyword suggestions.
20786
21205
  * @example
@@ -21038,6 +21457,85 @@ export declare namespace discoveryengine_v1alpha {
21038
21457
  delete(params: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
21039
21458
  delete(params: Params$Resource$Projects$Locations$Collections$Datastores$Delete, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
21040
21459
  delete(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
21460
+ /**
21461
+ * 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.
21462
+ * @example
21463
+ * ```js
21464
+ * // Before running the sample:
21465
+ * // - Enable the API at:
21466
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
21467
+ * // - Login into gcloud by running:
21468
+ * // ```sh
21469
+ * // $ gcloud auth application-default login
21470
+ * // ```
21471
+ * // - Install the npm module by running:
21472
+ * // ```sh
21473
+ * // $ npm install googleapis
21474
+ * // ```
21475
+ *
21476
+ * const {google} = require('googleapis');
21477
+ * const discoveryengine = google.discoveryengine('v1alpha');
21478
+ *
21479
+ * async function main() {
21480
+ * const auth = new google.auth.GoogleAuth({
21481
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
21482
+ * scopes: [
21483
+ * 'https://www.googleapis.com/auth/cloud-platform',
21484
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
21485
+ * ],
21486
+ * });
21487
+ *
21488
+ * // Acquire an auth client, and bind it to all future calls
21489
+ * const authClient = await auth.getClient();
21490
+ * google.options({auth: authClient});
21491
+ *
21492
+ * // Do the magic
21493
+ * const res =
21494
+ * await discoveryengine.projects.locations.collections.dataStores.deletePatientFilter(
21495
+ * {
21496
+ * // 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.
21497
+ * dataStore:
21498
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
21499
+ *
21500
+ * // Request body metadata
21501
+ * requestBody: {
21502
+ * // request body parameters
21503
+ * // {
21504
+ * // "dataStore": "my_dataStore"
21505
+ * // }
21506
+ * },
21507
+ * },
21508
+ * );
21509
+ * console.log(res.data);
21510
+ *
21511
+ * // Example response
21512
+ * // {
21513
+ * // "done": false,
21514
+ * // "error": {},
21515
+ * // "metadata": {},
21516
+ * // "name": "my_name",
21517
+ * // "response": {}
21518
+ * // }
21519
+ * }
21520
+ *
21521
+ * main().catch(e => {
21522
+ * console.error(e);
21523
+ * throw e;
21524
+ * });
21525
+ *
21526
+ * ```
21527
+ *
21528
+ * @param params - Parameters for request
21529
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
21530
+ * @param callback - Optional callback that handles the response.
21531
+ * @returns A promise if used with async/await, or void if used with a callback.
21532
+ */
21533
+ deletePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
21534
+ deletePatientFilter(params?: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
21535
+ deletePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
21536
+ deletePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
21537
+ deletePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
21538
+ deletePatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
21041
21539
  /**
21042
21540
  * Gets a DataStore.
21043
21541
  * @example
@@ -21453,6 +21951,166 @@ export declare namespace discoveryengine_v1alpha {
21453
21951
  patch(params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataStore>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataStore>): void;
21454
21952
  patch(params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataStore>): void;
21455
21953
  patch(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataStore>): void;
21954
+ /**
21955
+ * 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.
21956
+ * @example
21957
+ * ```js
21958
+ * // Before running the sample:
21959
+ * // - Enable the API at:
21960
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
21961
+ * // - Login into gcloud by running:
21962
+ * // ```sh
21963
+ * // $ gcloud auth application-default login
21964
+ * // ```
21965
+ * // - Install the npm module by running:
21966
+ * // ```sh
21967
+ * // $ npm install googleapis
21968
+ * // ```
21969
+ *
21970
+ * const {google} = require('googleapis');
21971
+ * const discoveryengine = google.discoveryengine('v1alpha');
21972
+ *
21973
+ * async function main() {
21974
+ * const auth = new google.auth.GoogleAuth({
21975
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
21976
+ * scopes: [
21977
+ * 'https://www.googleapis.com/auth/cloud-platform',
21978
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
21979
+ * ],
21980
+ * });
21981
+ *
21982
+ * // Acquire an auth client, and bind it to all future calls
21983
+ * const authClient = await auth.getClient();
21984
+ * google.options({auth: authClient});
21985
+ *
21986
+ * // Do the magic
21987
+ * const res =
21988
+ * await discoveryengine.projects.locations.collections.dataStores.removePatientFilter(
21989
+ * {
21990
+ * // 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
21991
+ * dataStore:
21992
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
21993
+ *
21994
+ * // Request body metadata
21995
+ * requestBody: {
21996
+ * // request body parameters
21997
+ * // {
21998
+ * // "dataStore": "my_dataStore",
21999
+ * // "filterGroups": []
22000
+ * // }
22001
+ * },
22002
+ * },
22003
+ * );
22004
+ * console.log(res.data);
22005
+ *
22006
+ * // Example response
22007
+ * // {
22008
+ * // "done": false,
22009
+ * // "error": {},
22010
+ * // "metadata": {},
22011
+ * // "name": "my_name",
22012
+ * // "response": {}
22013
+ * // }
22014
+ * }
22015
+ *
22016
+ * main().catch(e => {
22017
+ * console.error(e);
22018
+ * throw e;
22019
+ * });
22020
+ *
22021
+ * ```
22022
+ *
22023
+ * @param params - Parameters for request
22024
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
22025
+ * @param callback - Optional callback that handles the response.
22026
+ * @returns A promise if used with async/await, or void if used with a callback.
22027
+ */
22028
+ removePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
22029
+ removePatientFilter(params?: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
22030
+ removePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
22031
+ removePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
22032
+ removePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
22033
+ removePatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
22034
+ /**
22035
+ * 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.
22036
+ * @example
22037
+ * ```js
22038
+ * // Before running the sample:
22039
+ * // - Enable the API at:
22040
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
22041
+ * // - Login into gcloud by running:
22042
+ * // ```sh
22043
+ * // $ gcloud auth application-default login
22044
+ * // ```
22045
+ * // - Install the npm module by running:
22046
+ * // ```sh
22047
+ * // $ npm install googleapis
22048
+ * // ```
22049
+ *
22050
+ * const {google} = require('googleapis');
22051
+ * const discoveryengine = google.discoveryengine('v1alpha');
22052
+ *
22053
+ * async function main() {
22054
+ * const auth = new google.auth.GoogleAuth({
22055
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
22056
+ * scopes: [
22057
+ * 'https://www.googleapis.com/auth/cloud-platform',
22058
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
22059
+ * ],
22060
+ * });
22061
+ *
22062
+ * // Acquire an auth client, and bind it to all future calls
22063
+ * const authClient = await auth.getClient();
22064
+ * google.options({auth: authClient});
22065
+ *
22066
+ * // Do the magic
22067
+ * const res =
22068
+ * await discoveryengine.projects.locations.collections.dataStores.replacePatientFilter(
22069
+ * {
22070
+ * // 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.
22071
+ * dataStore:
22072
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
22073
+ *
22074
+ * // Request body metadata
22075
+ * requestBody: {
22076
+ * // request body parameters
22077
+ * // {
22078
+ * // "dataStore": "my_dataStore",
22079
+ * // "filterGroups": []
22080
+ * // }
22081
+ * },
22082
+ * },
22083
+ * );
22084
+ * console.log(res.data);
22085
+ *
22086
+ * // Example response
22087
+ * // {
22088
+ * // "done": false,
22089
+ * // "error": {},
22090
+ * // "metadata": {},
22091
+ * // "name": "my_name",
22092
+ * // "response": {}
22093
+ * // }
22094
+ * }
22095
+ *
22096
+ * main().catch(e => {
22097
+ * console.error(e);
22098
+ * throw e;
22099
+ * });
22100
+ *
22101
+ * ```
22102
+ *
22103
+ * @param params - Parameters for request
22104
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
22105
+ * @param callback - Optional callback that handles the response.
22106
+ * @returns A promise if used with async/await, or void if used with a callback.
22107
+ */
22108
+ replacePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
22109
+ replacePatientFilter(params?: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
22110
+ replacePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
22111
+ replacePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
22112
+ replacePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
22113
+ replacePatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
21456
22114
  /**
21457
22115
  * Trains a custom model.
21458
22116
  * @example
@@ -21618,6 +22276,16 @@ export declare namespace discoveryengine_v1alpha {
21618
22276
  updateDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Updatedocumentprocessingconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
21619
22277
  updateDocumentProcessingConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
21620
22278
  }
22279
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Addpatientfilter extends StandardParameters {
22280
+ /**
22281
+ * 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.
22282
+ */
22283
+ dataStore?: string;
22284
+ /**
22285
+ * Request body metadata
22286
+ */
22287
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest;
22288
+ }
21621
22289
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Completequery extends StandardParameters {
21622
22290
  /**
21623
22291
  * 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`.
@@ -21676,6 +22344,16 @@ export declare namespace discoveryengine_v1alpha {
21676
22344
  */
21677
22345
  name?: string;
21678
22346
  }
22347
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Deletepatientfilter extends StandardParameters {
22348
+ /**
22349
+ * 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.
22350
+ */
22351
+ dataStore?: string;
22352
+ /**
22353
+ * Request body metadata
22354
+ */
22355
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest;
22356
+ }
21679
22357
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Get extends StandardParameters {
21680
22358
  /**
21681
22359
  * 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.
@@ -21726,6 +22404,26 @@ export declare namespace discoveryengine_v1alpha {
21726
22404
  */
21727
22405
  requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaDataStore;
21728
22406
  }
22407
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Removepatientfilter extends StandardParameters {
22408
+ /**
22409
+ * 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
22410
+ */
22411
+ dataStore?: string;
22412
+ /**
22413
+ * Request body metadata
22414
+ */
22415
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest;
22416
+ }
22417
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter extends StandardParameters {
22418
+ /**
22419
+ * 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.
22420
+ */
22421
+ dataStore?: string;
22422
+ /**
22423
+ * Request body metadata
22424
+ */
22425
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest;
22426
+ }
21729
22427
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel extends StandardParameters {
21730
22428
  /**
21731
22429
  * 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.
@@ -21864,7 +22562,7 @@ export declare namespace discoveryengine_v1alpha {
21864
22562
  * {
21865
22563
  * // 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.
21866
22564
  * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/branches/my-branche',
21867
- * // The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
22565
+ * // The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
21868
22566
  * view: 'placeholder-value',
21869
22567
  * },
21870
22568
  * );
@@ -21937,7 +22635,7 @@ export declare namespace discoveryengine_v1alpha {
21937
22635
  * // Required. The parent data store resource name.
21938
22636
  * parent:
21939
22637
  * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
21940
- * // The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
22638
+ * // The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
21941
22639
  * view: 'placeholder-value',
21942
22640
  * },
21943
22641
  * );
@@ -21988,7 +22686,7 @@ export declare namespace discoveryengine_v1alpha {
21988
22686
  */
21989
22687
  name?: string;
21990
22688
  /**
21991
- * The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
22689
+ * The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
21992
22690
  */
21993
22691
  view?: string;
21994
22692
  }
@@ -21998,7 +22696,7 @@ export declare namespace discoveryengine_v1alpha {
21998
22696
  */
21999
22697
  parent?: string;
22000
22698
  /**
22001
- * The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
22699
+ * The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
22002
22700
  */
22003
22701
  view?: string;
22004
22702
  }
@@ -29634,6 +30332,7 @@ export declare namespace discoveryengine_v1alpha {
29634
30332
  * // "llmEnabled": false,
29635
30333
  * // "minimumDataTermAccepted": false,
29636
30334
  * // "name": "my_name",
30335
+ * // "nodes": [],
29637
30336
  * // "resultDisplayType": "my_resultDisplayType",
29638
30337
  * // "solutionType": "my_solutionType",
29639
30338
  * // "uiBranding": {},
@@ -29737,6 +30436,7 @@ export declare namespace discoveryengine_v1alpha {
29737
30436
  * // "llmEnabled": false,
29738
30437
  * // "minimumDataTermAccepted": false,
29739
30438
  * // "name": "my_name",
30439
+ * // "nodes": [],
29740
30440
  * // "resultDisplayType": "my_resultDisplayType",
29741
30441
  * // "solutionType": "my_solutionType",
29742
30442
  * // "uiBranding": {},
@@ -29781,6 +30481,7 @@ export declare namespace discoveryengine_v1alpha {
29781
30481
  * // "llmEnabled": false,
29782
30482
  * // "minimumDataTermAccepted": false,
29783
30483
  * // "name": "my_name",
30484
+ * // "nodes": [],
29784
30485
  * // "resultDisplayType": "my_resultDisplayType",
29785
30486
  * // "solutionType": "my_solutionType",
29786
30487
  * // "uiBranding": {},
@@ -29905,6 +30606,7 @@ export declare namespace discoveryengine_v1alpha {
29905
30606
  * // "displayName": "my_displayName",
29906
30607
  * // "features": {},
29907
30608
  * // "industryVertical": "my_industryVertical",
30609
+ * // "knowledgeGraphConfig": {},
29908
30610
  * // "mediaRecommendationEngineConfig": {},
29909
30611
  * // "modelConfigs": {},
29910
30612
  * // "name": "my_name",
@@ -30067,6 +30769,7 @@ export declare namespace discoveryengine_v1alpha {
30067
30769
  * // "displayName": "my_displayName",
30068
30770
  * // "features": {},
30069
30771
  * // "industryVertical": "my_industryVertical",
30772
+ * // "knowledgeGraphConfig": {},
30070
30773
  * // "mediaRecommendationEngineConfig": {},
30071
30774
  * // "modelConfigs": {},
30072
30775
  * // "name": "my_name",
@@ -30291,6 +30994,7 @@ export declare namespace discoveryengine_v1alpha {
30291
30994
  * // "displayName": "my_displayName",
30292
30995
  * // "features": {},
30293
30996
  * // "industryVertical": "my_industryVertical",
30997
+ * // "knowledgeGraphConfig": {},
30294
30998
  * // "mediaRecommendationEngineConfig": {},
30295
30999
  * // "modelConfigs": {},
30296
31000
  * // "name": "my_name",
@@ -30318,6 +31022,7 @@ export declare namespace discoveryengine_v1alpha {
30318
31022
  * // "displayName": "my_displayName",
30319
31023
  * // "features": {},
30320
31024
  * // "industryVertical": "my_industryVertical",
31025
+ * // "knowledgeGraphConfig": {},
30321
31026
  * // "mediaRecommendationEngineConfig": {},
30322
31027
  * // "modelConfigs": {},
30323
31028
  * // "name": "my_name",
@@ -30407,6 +31112,7 @@ export declare namespace discoveryengine_v1alpha {
30407
31112
  * // "displayName": "my_displayName",
30408
31113
  * // "features": {},
30409
31114
  * // "industryVertical": "my_industryVertical",
31115
+ * // "knowledgeGraphConfig": {},
30410
31116
  * // "mediaRecommendationEngineConfig": {},
30411
31117
  * // "modelConfigs": {},
30412
31118
  * // "name": "my_name",
@@ -30496,6 +31202,7 @@ export declare namespace discoveryengine_v1alpha {
30496
31202
  * // "displayName": "my_displayName",
30497
31203
  * // "features": {},
30498
31204
  * // "industryVertical": "my_industryVertical",
31205
+ * // "knowledgeGraphConfig": {},
30499
31206
  * // "mediaRecommendationEngineConfig": {},
30500
31207
  * // "modelConfigs": {},
30501
31208
  * // "name": "my_name",
@@ -30777,24 +31484,8 @@ export declare namespace discoveryengine_v1alpha {
30777
31484
  exportMetrics(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Exportmetrics, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
30778
31485
  exportMetrics(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Exportmetrics, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
30779
31486
  exportMetrics(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
30780
- }
30781
- export interface Params$Resource$Projects$Locations$Collections$Engines$Analytics$Exportmetrics extends StandardParameters {
30782
- /**
30783
- * Required. The analytics resource name under the engine where the metrics are created. The format is `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/analytics`.
30784
- */
30785
- analytics?: string;
30786
- /**
30787
- * Request body metadata
30788
- */
30789
- requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaExportMetricsRequest;
30790
- }
30791
- export class Resource$Projects$Locations$Collections$Engines$Assistants {
30792
- context: APIRequestContext;
30793
- agents: Resource$Projects$Locations$Collections$Engines$Assistants$Agents;
30794
- cannedQueries: Resource$Projects$Locations$Collections$Engines$Assistants$Cannedqueries;
30795
- constructor(context: APIRequestContext);
30796
31487
  /**
30797
- * Creates an Assistant.
31488
+ * Gets the AnalyticsConfig.
30798
31489
  * @example
30799
31490
  * ```js
30800
31491
  * // Before running the sample:
@@ -30817,7 +31508,6 @@ export declare namespace discoveryengine_v1alpha {
30817
31508
  * // Scopes can be specified either as an array or as a single, space-delimited string.
30818
31509
  * scopes: [
30819
31510
  * 'https://www.googleapis.com/auth/cloud-platform',
30820
- * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
30821
31511
  * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
30822
31512
  * ],
30823
31513
  * });
@@ -30828,44 +31518,18 @@ export declare namespace discoveryengine_v1alpha {
30828
31518
  *
30829
31519
  * // Do the magic
30830
31520
  * const res =
30831
- * await discoveryengine.projects.locations.collections.engines.assistants.create(
31521
+ * await discoveryengine.projects.locations.collections.engines.analytics.getConfig(
30832
31522
  * {
30833
- * // Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.
30834
- * assistantId: 'placeholder-value',
30835
- * // Required. The parent resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
30836
- * parent:
30837
- * 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine',
30838
- *
30839
- * // Request body metadata
30840
- * requestBody: {
30841
- * // request body parameters
30842
- * // {
30843
- * // "customerPolicy": {},
30844
- * // "defaultWebGroundingToggleOff": false,
30845
- * // "description": "my_description",
30846
- * // "disableLocationContext": false,
30847
- * // "displayName": "my_displayName",
30848
- * // "enabledTools": {},
30849
- * // "generationConfig": {},
30850
- * // "name": "my_name",
30851
- * // "webGroundingType": "my_webGroundingType"
30852
- * // }
30853
- * },
31523
+ * // Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
31524
+ * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/analytics/config',
30854
31525
  * },
30855
31526
  * );
30856
31527
  * console.log(res.data);
30857
31528
  *
30858
31529
  * // Example response
30859
31530
  * // {
30860
- * // "customerPolicy": {},
30861
- * // "defaultWebGroundingToggleOff": false,
30862
- * // "description": "my_description",
30863
- * // "disableLocationContext": false,
30864
- * // "displayName": "my_displayName",
30865
- * // "enabledTools": {},
30866
- * // "generationConfig": {},
30867
31531
  * // "name": "my_name",
30868
- * // "webGroundingType": "my_webGroundingType"
31532
+ * // "userLevelMetricsEnabled": false
30869
31533
  * // }
30870
31534
  * }
30871
31535
  *
@@ -30881,14 +31545,222 @@ export declare namespace discoveryengine_v1alpha {
30881
31545
  * @param callback - Optional callback that handles the response.
30882
31546
  * @returns A promise if used with async/await, or void if used with a callback.
30883
31547
  */
30884
- create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
30885
- create(params?: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>>;
30886
- create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
30887
- create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>): void;
30888
- create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>): void;
30889
- create(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>): void;
31548
+ getConfig(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
31549
+ getConfig(params?: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>>;
31550
+ getConfig(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
31551
+ getConfig(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>): void;
31552
+ getConfig(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>): void;
31553
+ getConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>): void;
30890
31554
  /**
30891
- * Deletes an Assistant.
31555
+ * Updates the AnalyticsConfig for analytics.
31556
+ * @example
31557
+ * ```js
31558
+ * // Before running the sample:
31559
+ * // - Enable the API at:
31560
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
31561
+ * // - Login into gcloud by running:
31562
+ * // ```sh
31563
+ * // $ gcloud auth application-default login
31564
+ * // ```
31565
+ * // - Install the npm module by running:
31566
+ * // ```sh
31567
+ * // $ npm install googleapis
31568
+ * // ```
31569
+ *
31570
+ * const {google} = require('googleapis');
31571
+ * const discoveryengine = google.discoveryengine('v1alpha');
31572
+ *
31573
+ * async function main() {
31574
+ * const auth = new google.auth.GoogleAuth({
31575
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
31576
+ * scopes: [
31577
+ * 'https://www.googleapis.com/auth/cloud-platform',
31578
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
31579
+ * ],
31580
+ * });
31581
+ *
31582
+ * // Acquire an auth client, and bind it to all future calls
31583
+ * const authClient = await auth.getClient();
31584
+ * google.options({auth: authClient});
31585
+ *
31586
+ * // Do the magic
31587
+ * const res =
31588
+ * await discoveryengine.projects.locations.collections.engines.analytics.updateConfig(
31589
+ * {
31590
+ * // Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
31591
+ * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/analytics/config',
31592
+ * // The list of fields of AnalyticsConfig to update. If not specified, the method will perform a full replacement.
31593
+ * updateMask: 'placeholder-value',
31594
+ *
31595
+ * // Request body metadata
31596
+ * requestBody: {
31597
+ * // request body parameters
31598
+ * // {
31599
+ * // "name": "my_name",
31600
+ * // "userLevelMetricsEnabled": false
31601
+ * // }
31602
+ * },
31603
+ * },
31604
+ * );
31605
+ * console.log(res.data);
31606
+ *
31607
+ * // Example response
31608
+ * // {
31609
+ * // "name": "my_name",
31610
+ * // "userLevelMetricsEnabled": false
31611
+ * // }
31612
+ * }
31613
+ *
31614
+ * main().catch(e => {
31615
+ * console.error(e);
31616
+ * throw e;
31617
+ * });
31618
+ *
31619
+ * ```
31620
+ *
31621
+ * @param params - Parameters for request
31622
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
31623
+ * @param callback - Optional callback that handles the response.
31624
+ * @returns A promise if used with async/await, or void if used with a callback.
31625
+ */
31626
+ updateConfig(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
31627
+ updateConfig(params?: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>>;
31628
+ updateConfig(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
31629
+ updateConfig(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>): void;
31630
+ updateConfig(params: Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>): void;
31631
+ updateConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>): void;
31632
+ }
31633
+ export interface Params$Resource$Projects$Locations$Collections$Engines$Analytics$Exportmetrics extends StandardParameters {
31634
+ /**
31635
+ * Required. The analytics resource name under the engine where the metrics are created. The format is `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/analytics`.
31636
+ */
31637
+ analytics?: string;
31638
+ /**
31639
+ * Request body metadata
31640
+ */
31641
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaExportMetricsRequest;
31642
+ }
31643
+ export interface Params$Resource$Projects$Locations$Collections$Engines$Analytics$Getconfig extends StandardParameters {
31644
+ /**
31645
+ * Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
31646
+ */
31647
+ name?: string;
31648
+ }
31649
+ export interface Params$Resource$Projects$Locations$Collections$Engines$Analytics$Updateconfig extends StandardParameters {
31650
+ /**
31651
+ * Required. The resource name of the analytics customer config. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/analytics/config`
31652
+ */
31653
+ name?: string;
31654
+ /**
31655
+ * The list of fields of AnalyticsConfig to update. If not specified, the method will perform a full replacement.
31656
+ */
31657
+ updateMask?: string;
31658
+ /**
31659
+ * Request body metadata
31660
+ */
31661
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAnalyticsConfig;
31662
+ }
31663
+ export class Resource$Projects$Locations$Collections$Engines$Assistants {
31664
+ context: APIRequestContext;
31665
+ agents: Resource$Projects$Locations$Collections$Engines$Assistants$Agents;
31666
+ cannedQueries: Resource$Projects$Locations$Collections$Engines$Assistants$Cannedqueries;
31667
+ constructor(context: APIRequestContext);
31668
+ /**
31669
+ * Creates an Assistant.
31670
+ * @example
31671
+ * ```js
31672
+ * // Before running the sample:
31673
+ * // - Enable the API at:
31674
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
31675
+ * // - Login into gcloud by running:
31676
+ * // ```sh
31677
+ * // $ gcloud auth application-default login
31678
+ * // ```
31679
+ * // - Install the npm module by running:
31680
+ * // ```sh
31681
+ * // $ npm install googleapis
31682
+ * // ```
31683
+ *
31684
+ * const {google} = require('googleapis');
31685
+ * const discoveryengine = google.discoveryengine('v1alpha');
31686
+ *
31687
+ * async function main() {
31688
+ * const auth = new google.auth.GoogleAuth({
31689
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
31690
+ * scopes: [
31691
+ * 'https://www.googleapis.com/auth/cloud-platform',
31692
+ * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
31693
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
31694
+ * ],
31695
+ * });
31696
+ *
31697
+ * // Acquire an auth client, and bind it to all future calls
31698
+ * const authClient = await auth.getClient();
31699
+ * google.options({auth: authClient});
31700
+ *
31701
+ * // Do the magic
31702
+ * const res =
31703
+ * await discoveryengine.projects.locations.collections.engines.assistants.create(
31704
+ * {
31705
+ * // Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.
31706
+ * assistantId: 'placeholder-value',
31707
+ * // Required. The parent resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
31708
+ * parent:
31709
+ * 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine',
31710
+ *
31711
+ * // Request body metadata
31712
+ * requestBody: {
31713
+ * // request body parameters
31714
+ * // {
31715
+ * // "customerPolicy": {},
31716
+ * // "defaultWebGroundingToggleOff": false,
31717
+ * // "description": "my_description",
31718
+ * // "disableLocationContext": false,
31719
+ * // "displayName": "my_displayName",
31720
+ * // "enabledTools": {},
31721
+ * // "generationConfig": {},
31722
+ * // "name": "my_name",
31723
+ * // "webGroundingType": "my_webGroundingType"
31724
+ * // }
31725
+ * },
31726
+ * },
31727
+ * );
31728
+ * console.log(res.data);
31729
+ *
31730
+ * // Example response
31731
+ * // {
31732
+ * // "customerPolicy": {},
31733
+ * // "defaultWebGroundingToggleOff": false,
31734
+ * // "description": "my_description",
31735
+ * // "disableLocationContext": false,
31736
+ * // "displayName": "my_displayName",
31737
+ * // "enabledTools": {},
31738
+ * // "generationConfig": {},
31739
+ * // "name": "my_name",
31740
+ * // "webGroundingType": "my_webGroundingType"
31741
+ * // }
31742
+ * }
31743
+ *
31744
+ * main().catch(e => {
31745
+ * console.error(e);
31746
+ * throw e;
31747
+ * });
31748
+ *
31749
+ * ```
31750
+ *
31751
+ * @param params - Parameters for request
31752
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
31753
+ * @param callback - Optional callback that handles the response.
31754
+ * @returns A promise if used with async/await, or void if used with a callback.
31755
+ */
31756
+ create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
31757
+ create(params?: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>>;
31758
+ create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
31759
+ create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>): void;
31760
+ create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>): void;
31761
+ create(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAssistant>): void;
31762
+ /**
31763
+ * Deletes an Assistant.
30892
31764
  * @example
30893
31765
  * ```js
30894
31766
  * // Before running the sample:
@@ -31147,7 +32019,7 @@ export declare namespace discoveryengine_v1alpha {
31147
32019
  * languageCode: 'placeholder-value',
31148
32020
  * // Optional. The maximum number of suggested prompts to return per agent.
31149
32021
  * maxSuggestedPrompts: 'placeholder-value',
31150
- * // 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.
32022
+ * // 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.
31151
32023
  * pageSize: 'placeholder-value',
31152
32024
  * // 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.
31153
32025
  * pageToken: 'placeholder-value',
@@ -31423,7 +32295,7 @@ export declare namespace discoveryengine_v1alpha {
31423
32295
  */
31424
32296
  maxSuggestedPrompts?: number;
31425
32297
  /**
31426
- * 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.
32298
+ * 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.
31427
32299
  */
31428
32300
  pageSize?: number;
31429
32301
  /**
@@ -31690,6 +32562,8 @@ export declare namespace discoveryengine_v1alpha {
31690
32562
  * {
31691
32563
  * // Required. The name of the Agent to disable. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}/agents/{agent\}`
31692
32564
  * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/assistants/my-assistant/agents/my-agent',
32565
+ * // Optional. The Revision ID of the Agent to disable. If not specified, the latest revision will be disabled.
32566
+ * revisionId: 'placeholder-value',
31693
32567
  * },
31694
32568
  * );
31695
32569
  * console.log(res.data);
@@ -31775,6 +32649,8 @@ export declare namespace discoveryengine_v1alpha {
31775
32649
  * {
31776
32650
  * // Required. The name of the Agent to enable. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}/agents/{agent\}`
31777
32651
  * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/assistants/my-assistant/agents/my-agent',
32652
+ * // Optional. The Revision ID of the Agent to enable. If not specified, the latest revision will be enabled.
32653
+ * revisionId: 'placeholder-value',
31778
32654
  * },
31779
32655
  * );
31780
32656
  * console.log(res.data);
@@ -32426,12 +33302,20 @@ export declare namespace discoveryengine_v1alpha {
32426
33302
  * Required. The name of the Agent to disable. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}/agents/{agent\}`
32427
33303
  */
32428
33304
  name?: string;
33305
+ /**
33306
+ * Optional. The Revision ID of the Agent to disable. If not specified, the latest revision will be disabled.
33307
+ */
33308
+ revisionId?: string;
32429
33309
  }
32430
33310
  export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Enableagent extends StandardParameters {
32431
33311
  /**
32432
33312
  * Required. The name of the Agent to enable. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}/agents/{agent\}`
32433
33313
  */
32434
33314
  name?: string;
33315
+ /**
33316
+ * Optional. The Revision ID of the Agent to enable. If not specified, the latest revision will be enabled.
33317
+ */
33318
+ revisionId?: string;
32435
33319
  }
32436
33320
  export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Get extends StandardParameters {
32437
33321
  /**
@@ -36533,6 +37417,7 @@ export declare namespace discoveryengine_v1alpha {
36533
37417
  * // "llmEnabled": false,
36534
37418
  * // "minimumDataTermAccepted": false,
36535
37419
  * // "name": "my_name",
37420
+ * // "nodes": [],
36536
37421
  * // "resultDisplayType": "my_resultDisplayType",
36537
37422
  * // "solutionType": "my_solutionType",
36538
37423
  * // "uiBranding": {},
@@ -36636,6 +37521,7 @@ export declare namespace discoveryengine_v1alpha {
36636
37521
  * // "llmEnabled": false,
36637
37522
  * // "minimumDataTermAccepted": false,
36638
37523
  * // "name": "my_name",
37524
+ * // "nodes": [],
36639
37525
  * // "resultDisplayType": "my_resultDisplayType",
36640
37526
  * // "solutionType": "my_solutionType",
36641
37527
  * // "uiBranding": {},
@@ -36680,6 +37566,7 @@ export declare namespace discoveryengine_v1alpha {
36680
37566
  * // "llmEnabled": false,
36681
37567
  * // "minimumDataTermAccepted": false,
36682
37568
  * // "name": "my_name",
37569
+ * // "nodes": [],
36683
37570
  * // "resultDisplayType": "my_resultDisplayType",
36684
37571
  * // "solutionType": "my_solutionType",
36685
37572
  * // "uiBranding": {},
@@ -36926,6 +37813,84 @@ export declare namespace discoveryengine_v1alpha {
36926
37813
  userEvents: Resource$Projects$Locations$Datastores$Userevents;
36927
37814
  widgetConfigs: Resource$Projects$Locations$Datastores$Widgetconfigs;
36928
37815
  constructor(context: APIRequestContext);
37816
+ /**
37817
+ * 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.
37818
+ * @example
37819
+ * ```js
37820
+ * // Before running the sample:
37821
+ * // - Enable the API at:
37822
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
37823
+ * // - Login into gcloud by running:
37824
+ * // ```sh
37825
+ * // $ gcloud auth application-default login
37826
+ * // ```
37827
+ * // - Install the npm module by running:
37828
+ * // ```sh
37829
+ * // $ npm install googleapis
37830
+ * // ```
37831
+ *
37832
+ * const {google} = require('googleapis');
37833
+ * const discoveryengine = google.discoveryengine('v1alpha');
37834
+ *
37835
+ * async function main() {
37836
+ * const auth = new google.auth.GoogleAuth({
37837
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
37838
+ * scopes: [
37839
+ * 'https://www.googleapis.com/auth/cloud-platform',
37840
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
37841
+ * ],
37842
+ * });
37843
+ *
37844
+ * // Acquire an auth client, and bind it to all future calls
37845
+ * const authClient = await auth.getClient();
37846
+ * google.options({auth: authClient});
37847
+ *
37848
+ * // Do the magic
37849
+ * const res =
37850
+ * await discoveryengine.projects.locations.dataStores.addPatientFilter({
37851
+ * // 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.
37852
+ * dataStore:
37853
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
37854
+ *
37855
+ * // Request body metadata
37856
+ * requestBody: {
37857
+ * // request body parameters
37858
+ * // {
37859
+ * // "dataStore": "my_dataStore",
37860
+ * // "filterGroups": []
37861
+ * // }
37862
+ * },
37863
+ * });
37864
+ * console.log(res.data);
37865
+ *
37866
+ * // Example response
37867
+ * // {
37868
+ * // "done": false,
37869
+ * // "error": {},
37870
+ * // "metadata": {},
37871
+ * // "name": "my_name",
37872
+ * // "response": {}
37873
+ * // }
37874
+ * }
37875
+ *
37876
+ * main().catch(e => {
37877
+ * console.error(e);
37878
+ * throw e;
37879
+ * });
37880
+ *
37881
+ * ```
37882
+ *
37883
+ * @param params - Parameters for request
37884
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
37885
+ * @param callback - Optional callback that handles the response.
37886
+ * @returns A promise if used with async/await, or void if used with a callback.
37887
+ */
37888
+ addPatientFilter(params: Params$Resource$Projects$Locations$Datastores$Addpatientfilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
37889
+ addPatientFilter(params?: Params$Resource$Projects$Locations$Datastores$Addpatientfilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
37890
+ addPatientFilter(params: Params$Resource$Projects$Locations$Datastores$Addpatientfilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
37891
+ addPatientFilter(params: Params$Resource$Projects$Locations$Datastores$Addpatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
37892
+ addPatientFilter(params: Params$Resource$Projects$Locations$Datastores$Addpatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
37893
+ addPatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
36929
37894
  /**
36930
37895
  * Completes the specified user input with keyword suggestions.
36931
37896
  * @example
@@ -37179,6 +38144,83 @@ export declare namespace discoveryengine_v1alpha {
37179
38144
  delete(params: Params$Resource$Projects$Locations$Datastores$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
37180
38145
  delete(params: Params$Resource$Projects$Locations$Datastores$Delete, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
37181
38146
  delete(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
38147
+ /**
38148
+ * 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.
38149
+ * @example
38150
+ * ```js
38151
+ * // Before running the sample:
38152
+ * // - Enable the API at:
38153
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
38154
+ * // - Login into gcloud by running:
38155
+ * // ```sh
38156
+ * // $ gcloud auth application-default login
38157
+ * // ```
38158
+ * // - Install the npm module by running:
38159
+ * // ```sh
38160
+ * // $ npm install googleapis
38161
+ * // ```
38162
+ *
38163
+ * const {google} = require('googleapis');
38164
+ * const discoveryengine = google.discoveryengine('v1alpha');
38165
+ *
38166
+ * async function main() {
38167
+ * const auth = new google.auth.GoogleAuth({
38168
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
38169
+ * scopes: [
38170
+ * 'https://www.googleapis.com/auth/cloud-platform',
38171
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
38172
+ * ],
38173
+ * });
38174
+ *
38175
+ * // Acquire an auth client, and bind it to all future calls
38176
+ * const authClient = await auth.getClient();
38177
+ * google.options({auth: authClient});
38178
+ *
38179
+ * // Do the magic
38180
+ * const res =
38181
+ * await discoveryengine.projects.locations.dataStores.deletePatientFilter({
38182
+ * // 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.
38183
+ * dataStore:
38184
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
38185
+ *
38186
+ * // Request body metadata
38187
+ * requestBody: {
38188
+ * // request body parameters
38189
+ * // {
38190
+ * // "dataStore": "my_dataStore"
38191
+ * // }
38192
+ * },
38193
+ * });
38194
+ * console.log(res.data);
38195
+ *
38196
+ * // Example response
38197
+ * // {
38198
+ * // "done": false,
38199
+ * // "error": {},
38200
+ * // "metadata": {},
38201
+ * // "name": "my_name",
38202
+ * // "response": {}
38203
+ * // }
38204
+ * }
38205
+ *
38206
+ * main().catch(e => {
38207
+ * console.error(e);
38208
+ * throw e;
38209
+ * });
38210
+ *
38211
+ * ```
38212
+ *
38213
+ * @param params - Parameters for request
38214
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
38215
+ * @param callback - Optional callback that handles the response.
38216
+ * @returns A promise if used with async/await, or void if used with a callback.
38217
+ */
38218
+ deletePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
38219
+ deletePatientFilter(params?: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
38220
+ deletePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
38221
+ deletePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
38222
+ deletePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Deletepatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
38223
+ deletePatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
37182
38224
  /**
37183
38225
  * Gets a DataStore.
37184
38226
  * @example
@@ -37588,6 +38630,162 @@ export declare namespace discoveryengine_v1alpha {
37588
38630
  patch(params: Params$Resource$Projects$Locations$Datastores$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataStore>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataStore>): void;
37589
38631
  patch(params: Params$Resource$Projects$Locations$Datastores$Patch, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataStore>): void;
37590
38632
  patch(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataStore>): void;
38633
+ /**
38634
+ * 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.
38635
+ * @example
38636
+ * ```js
38637
+ * // Before running the sample:
38638
+ * // - Enable the API at:
38639
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
38640
+ * // - Login into gcloud by running:
38641
+ * // ```sh
38642
+ * // $ gcloud auth application-default login
38643
+ * // ```
38644
+ * // - Install the npm module by running:
38645
+ * // ```sh
38646
+ * // $ npm install googleapis
38647
+ * // ```
38648
+ *
38649
+ * const {google} = require('googleapis');
38650
+ * const discoveryengine = google.discoveryengine('v1alpha');
38651
+ *
38652
+ * async function main() {
38653
+ * const auth = new google.auth.GoogleAuth({
38654
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
38655
+ * scopes: [
38656
+ * 'https://www.googleapis.com/auth/cloud-platform',
38657
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
38658
+ * ],
38659
+ * });
38660
+ *
38661
+ * // Acquire an auth client, and bind it to all future calls
38662
+ * const authClient = await auth.getClient();
38663
+ * google.options({auth: authClient});
38664
+ *
38665
+ * // Do the magic
38666
+ * const res =
38667
+ * await discoveryengine.projects.locations.dataStores.removePatientFilter({
38668
+ * // 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
38669
+ * dataStore:
38670
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
38671
+ *
38672
+ * // Request body metadata
38673
+ * requestBody: {
38674
+ * // request body parameters
38675
+ * // {
38676
+ * // "dataStore": "my_dataStore",
38677
+ * // "filterGroups": []
38678
+ * // }
38679
+ * },
38680
+ * });
38681
+ * console.log(res.data);
38682
+ *
38683
+ * // Example response
38684
+ * // {
38685
+ * // "done": false,
38686
+ * // "error": {},
38687
+ * // "metadata": {},
38688
+ * // "name": "my_name",
38689
+ * // "response": {}
38690
+ * // }
38691
+ * }
38692
+ *
38693
+ * main().catch(e => {
38694
+ * console.error(e);
38695
+ * throw e;
38696
+ * });
38697
+ *
38698
+ * ```
38699
+ *
38700
+ * @param params - Parameters for request
38701
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
38702
+ * @param callback - Optional callback that handles the response.
38703
+ * @returns A promise if used with async/await, or void if used with a callback.
38704
+ */
38705
+ removePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Removepatientfilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
38706
+ removePatientFilter(params?: Params$Resource$Projects$Locations$Datastores$Removepatientfilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
38707
+ removePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Removepatientfilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
38708
+ removePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Removepatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
38709
+ removePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Removepatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
38710
+ removePatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
38711
+ /**
38712
+ * 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.
38713
+ * @example
38714
+ * ```js
38715
+ * // Before running the sample:
38716
+ * // - Enable the API at:
38717
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
38718
+ * // - Login into gcloud by running:
38719
+ * // ```sh
38720
+ * // $ gcloud auth application-default login
38721
+ * // ```
38722
+ * // - Install the npm module by running:
38723
+ * // ```sh
38724
+ * // $ npm install googleapis
38725
+ * // ```
38726
+ *
38727
+ * const {google} = require('googleapis');
38728
+ * const discoveryengine = google.discoveryengine('v1alpha');
38729
+ *
38730
+ * async function main() {
38731
+ * const auth = new google.auth.GoogleAuth({
38732
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
38733
+ * scopes: [
38734
+ * 'https://www.googleapis.com/auth/cloud-platform',
38735
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
38736
+ * ],
38737
+ * });
38738
+ *
38739
+ * // Acquire an auth client, and bind it to all future calls
38740
+ * const authClient = await auth.getClient();
38741
+ * google.options({auth: authClient});
38742
+ *
38743
+ * // Do the magic
38744
+ * const res =
38745
+ * await discoveryengine.projects.locations.dataStores.replacePatientFilter({
38746
+ * // 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.
38747
+ * dataStore:
38748
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
38749
+ *
38750
+ * // Request body metadata
38751
+ * requestBody: {
38752
+ * // request body parameters
38753
+ * // {
38754
+ * // "dataStore": "my_dataStore",
38755
+ * // "filterGroups": []
38756
+ * // }
38757
+ * },
38758
+ * });
38759
+ * console.log(res.data);
38760
+ *
38761
+ * // Example response
38762
+ * // {
38763
+ * // "done": false,
38764
+ * // "error": {},
38765
+ * // "metadata": {},
38766
+ * // "name": "my_name",
38767
+ * // "response": {}
38768
+ * // }
38769
+ * }
38770
+ *
38771
+ * main().catch(e => {
38772
+ * console.error(e);
38773
+ * throw e;
38774
+ * });
38775
+ *
38776
+ * ```
38777
+ *
38778
+ * @param params - Parameters for request
38779
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
38780
+ * @param callback - Optional callback that handles the response.
38781
+ * @returns A promise if used with async/await, or void if used with a callback.
38782
+ */
38783
+ replacePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
38784
+ replacePatientFilter(params?: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
38785
+ replacePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
38786
+ replacePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
38787
+ replacePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
38788
+ replacePatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
37591
38789
  /**
37592
38790
  * 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.
37593
38791
  * @example
@@ -37671,6 +38869,16 @@ export declare namespace discoveryengine_v1alpha {
37671
38869
  updateDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Datastores$Updatedocumentprocessingconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
37672
38870
  updateDocumentProcessingConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
37673
38871
  }
38872
+ export interface Params$Resource$Projects$Locations$Datastores$Addpatientfilter extends StandardParameters {
38873
+ /**
38874
+ * 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.
38875
+ */
38876
+ dataStore?: string;
38877
+ /**
38878
+ * Request body metadata
38879
+ */
38880
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest;
38881
+ }
37674
38882
  export interface Params$Resource$Projects$Locations$Datastores$Completequery extends StandardParameters {
37675
38883
  /**
37676
38884
  * 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`.
@@ -37729,6 +38937,16 @@ export declare namespace discoveryengine_v1alpha {
37729
38937
  */
37730
38938
  name?: string;
37731
38939
  }
38940
+ export interface Params$Resource$Projects$Locations$Datastores$Deletepatientfilter extends StandardParameters {
38941
+ /**
38942
+ * 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.
38943
+ */
38944
+ dataStore?: string;
38945
+ /**
38946
+ * Request body metadata
38947
+ */
38948
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest;
38949
+ }
37732
38950
  export interface Params$Resource$Projects$Locations$Datastores$Get extends StandardParameters {
37733
38951
  /**
37734
38952
  * 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.
@@ -37779,6 +38997,26 @@ export declare namespace discoveryengine_v1alpha {
37779
38997
  */
37780
38998
  requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaDataStore;
37781
38999
  }
39000
+ export interface Params$Resource$Projects$Locations$Datastores$Removepatientfilter extends StandardParameters {
39001
+ /**
39002
+ * 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
39003
+ */
39004
+ dataStore?: string;
39005
+ /**
39006
+ * Request body metadata
39007
+ */
39008
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest;
39009
+ }
39010
+ export interface Params$Resource$Projects$Locations$Datastores$Replacepatientfilter extends StandardParameters {
39011
+ /**
39012
+ * 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.
39013
+ */
39014
+ dataStore?: string;
39015
+ /**
39016
+ * Request body metadata
39017
+ */
39018
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest;
39019
+ }
37782
39020
  export interface Params$Resource$Projects$Locations$Datastores$Updatedocumentprocessingconfig extends StandardParameters {
37783
39021
  /**
37784
39022
  * The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
@@ -37905,7 +39143,7 @@ export declare namespace discoveryengine_v1alpha {
37905
39143
  * const res = await discoveryengine.projects.locations.dataStores.branches.get({
37906
39144
  * // 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.
37907
39145
  * name: 'projects/my-project/locations/my-location/dataStores/my-dataStore/branches/my-branche',
37908
- * // The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
39146
+ * // The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
37909
39147
  * view: 'placeholder-value',
37910
39148
  * });
37911
39149
  * console.log(res.data);
@@ -37976,7 +39214,7 @@ export declare namespace discoveryengine_v1alpha {
37976
39214
  * // Required. The parent data store resource name.
37977
39215
  * parent:
37978
39216
  * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
37979
- * // The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
39217
+ * // The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
37980
39218
  * view: 'placeholder-value',
37981
39219
  * },
37982
39220
  * );
@@ -38027,7 +39265,7 @@ export declare namespace discoveryengine_v1alpha {
38027
39265
  */
38028
39266
  name?: string;
38029
39267
  /**
38030
- * The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
39268
+ * The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
38031
39269
  */
38032
39270
  view?: string;
38033
39271
  }
@@ -38037,7 +39275,7 @@ export declare namespace discoveryengine_v1alpha {
38037
39275
  */
38038
39276
  parent?: string;
38039
39277
  /**
38040
- * The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
39278
+ * The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
38041
39279
  */
38042
39280
  view?: string;
38043
39281
  }
@@ -44640,6 +45878,7 @@ export declare namespace discoveryengine_v1alpha {
44640
45878
  * // "llmEnabled": false,
44641
45879
  * // "minimumDataTermAccepted": false,
44642
45880
  * // "name": "my_name",
45881
+ * // "nodes": [],
44643
45882
  * // "resultDisplayType": "my_resultDisplayType",
44644
45883
  * // "solutionType": "my_solutionType",
44645
45884
  * // "uiBranding": {},
@@ -44742,6 +45981,7 @@ export declare namespace discoveryengine_v1alpha {
44742
45981
  * // "llmEnabled": false,
44743
45982
  * // "minimumDataTermAccepted": false,
44744
45983
  * // "name": "my_name",
45984
+ * // "nodes": [],
44745
45985
  * // "resultDisplayType": "my_resultDisplayType",
44746
45986
  * // "solutionType": "my_solutionType",
44747
45987
  * // "uiBranding": {},
@@ -44785,6 +46025,7 @@ export declare namespace discoveryengine_v1alpha {
44785
46025
  * // "llmEnabled": false,
44786
46026
  * // "minimumDataTermAccepted": false,
44787
46027
  * // "name": "my_name",
46028
+ * // "nodes": [],
44788
46029
  * // "resultDisplayType": "my_resultDisplayType",
44789
46030
  * // "solutionType": "my_solutionType",
44790
46031
  * // "uiBranding": {},