@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20260107 → 0.1.20260112

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.
Files changed (2) hide show
  1. package/index.d.ts +576 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20260107
12
+ // Revision: 20260112
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -249,6 +249,12 @@ declare namespace gapi.client {
249
249
  /** Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored. */
250
250
  useStaticSecrets?: boolean;
251
251
  }
252
+ interface GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest {
253
+ /** 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. */
254
+ dataStore?: string;
255
+ /** 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. */
256
+ filterGroups?: string[];
257
+ }
252
258
  interface GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition {
253
259
  /** Optional. The reasoning engine that the agent is connected to. */
254
260
  provisionedReasoningEngine?: GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine;
@@ -1166,7 +1172,7 @@ declare namespace gapi.client {
1166
1172
  clientSecret?: string;
1167
1173
  /** Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/ */
1168
1174
  pkceVerificationEnabled?: boolean;
1169
- /** Required. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` */
1175
+ /** 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. */
1170
1176
  scopes?: string[];
1171
1177
  /** Required. The HTTP endpoint that exchanges a client authorization for an access token. */
1172
1178
  tokenUri?: string;
@@ -2125,6 +2131,10 @@ declare namespace gapi.client {
2125
2131
  /** Operation last update time. If the operation is done, this is also the finish time. */
2126
2132
  updateTime?: string;
2127
2133
  }
2134
+ interface GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest {
2135
+ /** 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. */
2136
+ dataStore?: string;
2137
+ }
2128
2138
  interface GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata {
2129
2139
  /** Operation create time. */
2130
2140
  createTime?: string;
@@ -2357,6 +2367,8 @@ declare namespace gapi.client {
2357
2367
  features?: {[P in string]: string};
2358
2368
  /** 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. */
2359
2369
  industryVertical?: string;
2370
+ /** Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
2371
+ knowledgeGraphConfig?: GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig;
2360
2372
  /** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
2361
2373
  mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
2362
2374
  /** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
@@ -2400,6 +2412,28 @@ declare namespace gapi.client {
2400
2412
  /** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
2401
2413
  companyName?: string;
2402
2414
  }
2415
+ interface GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig {
2416
+ /** Specify entity types to support. */
2417
+ cloudKnowledgeGraphTypes?: string[];
2418
+ /** Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified. */
2419
+ enableCloudKnowledgeGraph?: boolean;
2420
+ /** Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified. */
2421
+ enablePrivateKnowledgeGraph?: boolean;
2422
+ /** Optional. Feature config for the Knowledge Graph. */
2423
+ featureConfig?: GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig;
2424
+ /** Specify entity types to support. */
2425
+ privateKnowledgeGraphTypes?: string[];
2426
+ }
2427
+ interface GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig {
2428
+ /** Whether to disable the private KG auto complete for the engine. Defaults to false if not specified. */
2429
+ disablePrivateKgAutoComplete?: boolean;
2430
+ /** Whether to disable the private KG enrichment for the engine. Defaults to false if not specified. */
2431
+ disablePrivateKgEnrichment?: boolean;
2432
+ /** Whether to disable the private KG for query UI chips. Defaults to false if not specified. */
2433
+ disablePrivateKgQueryUiChips?: boolean;
2434
+ /** Whether to disable the private KG query understanding for the engine. Defaults to false if not specified. */
2435
+ disablePrivateKgQueryUnderstanding?: boolean;
2436
+ }
2403
2437
  interface GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig {
2404
2438
  /** Optional. Additional engine features config. */
2405
2439
  engineFeaturesConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig;
@@ -2705,6 +2739,8 @@ declare namespace gapi.client {
2705
2739
  enableConfigurableSchema?: boolean;
2706
2740
  /** 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. */
2707
2741
  enableStaticIndexingForBatchIngestion?: boolean;
2742
+ /** 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. */
2743
+ initialFilterGroups?: string[];
2708
2744
  }
2709
2745
  interface GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry {
2710
2746
  /** Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters. */
@@ -3259,6 +3295,16 @@ declare namespace gapi.client {
3259
3295
  /** The total number of panels, including this one, shown to the user. Must be set if panel_position is set. */
3260
3296
  totalPanels?: number;
3261
3297
  }
3298
+ interface GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata {
3299
+ /** Operation create time. */
3300
+ createTime?: string;
3301
+ /** The number of patient IDs added to the patient filter. */
3302
+ filtersAddedCount?: string;
3303
+ /** The number of patient IDs removed from the patient filter. */
3304
+ filtersRemovedCount?: string;
3305
+ /** Operation last update time. If the operation is done, this is also the finish time. */
3306
+ updateTime?: string;
3307
+ }
3262
3308
  interface GoogleCloudDiscoveryengineV1alphaPauseEngineRequest {}
3263
3309
  interface GoogleCloudDiscoveryengineV1alphaPrincipal {
3264
3310
  /** For 3P application identities which are not present in the customer identity provider. */
@@ -3615,6 +3661,12 @@ declare namespace gapi.client {
3615
3661
  /** Output only. The state of the response. */
3616
3662
  state?: string;
3617
3663
  }
3664
+ interface GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest {
3665
+ /** 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 */
3666
+ dataStore?: string;
3667
+ /** 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. */
3668
+ filterGroups?: string[];
3669
+ }
3618
3670
  interface GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest {
3619
3671
  /** Remove all search history suggestions for the user. */
3620
3672
  removeAllSearchHistorySuggestions?: boolean;
@@ -3628,6 +3680,12 @@ declare namespace gapi.client {
3628
3680
  userPseudoId?: string;
3629
3681
  }
3630
3682
  interface GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse {}
3683
+ interface GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest {
3684
+ /** 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. */
3685
+ dataStore?: string;
3686
+ /** 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. */
3687
+ filterGroups?: string[];
3688
+ }
3631
3689
  interface GoogleCloudDiscoveryengineV1alphaReply {
3632
3690
  /** References in the reply. */
3633
3691
  references?: GoogleCloudDiscoveryengineV1alphaReplyReference[];
@@ -5620,6 +5678,8 @@ declare namespace gapi.client {
5620
5678
  features?: {[P in string]: string};
5621
5679
  /** 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. */
5622
5680
  industryVertical?: string;
5681
+ /** Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
5682
+ knowledgeGraphConfig?: GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig;
5623
5683
  /** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
5624
5684
  mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig;
5625
5685
  /** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
@@ -5659,6 +5719,28 @@ declare namespace gapi.client {
5659
5719
  /** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
5660
5720
  companyName?: string;
5661
5721
  }
5722
+ interface GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig {
5723
+ /** Specify entity types to support. */
5724
+ cloudKnowledgeGraphTypes?: string[];
5725
+ /** Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified. */
5726
+ enableCloudKnowledgeGraph?: boolean;
5727
+ /** Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified. */
5728
+ enablePrivateKnowledgeGraph?: boolean;
5729
+ /** Optional. Feature config for the Knowledge Graph. */
5730
+ featureConfig?: GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig;
5731
+ /** Specify entity types to support. */
5732
+ privateKnowledgeGraphTypes?: string[];
5733
+ }
5734
+ interface GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig {
5735
+ /** Whether to disable the private KG auto complete for the engine. Defaults to false if not specified. */
5736
+ disablePrivateKgAutoComplete?: boolean;
5737
+ /** Whether to disable the private KG enrichment for the engine. Defaults to false if not specified. */
5738
+ disablePrivateKgEnrichment?: boolean;
5739
+ /** Whether to disable the private KG for query UI chips. Defaults to false if not specified. */
5740
+ disablePrivateKgQueryUiChips?: boolean;
5741
+ /** Whether to disable the private KG query understanding for the engine. Defaults to false if not specified. */
5742
+ disablePrivateKgQueryUnderstanding?: boolean;
5743
+ }
5662
5744
  interface GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig {
5663
5745
  /** Optional. Additional engine features config. */
5664
5746
  engineFeaturesConfig?: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig;
@@ -5732,6 +5814,8 @@ declare namespace gapi.client {
5732
5814
  enableConfigurableSchema?: boolean;
5733
5815
  /** 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. */
5734
5816
  enableStaticIndexingForBatchIngestion?: boolean;
5817
+ /** 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. */
5818
+ initialFilterGroups?: string[];
5735
5819
  }
5736
5820
  interface GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata {
5737
5821
  /** The number of IdentityMappingEntries that failed to be processed. */
@@ -6987,6 +7071,8 @@ declare namespace gapi.client {
6987
7071
  features?: {[P in string]: string};
6988
7072
  /** 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. */
6989
7073
  industryVertical?: string;
7074
+ /** Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
7075
+ knowledgeGraphConfig?: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig;
6990
7076
  /** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
6991
7077
  mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig;
6992
7078
  /** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
@@ -7026,6 +7112,28 @@ declare namespace gapi.client {
7026
7112
  /** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
7027
7113
  companyName?: string;
7028
7114
  }
7115
+ interface GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig {
7116
+ /** Specify entity types to support. */
7117
+ cloudKnowledgeGraphTypes?: string[];
7118
+ /** Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified. */
7119
+ enableCloudKnowledgeGraph?: boolean;
7120
+ /** Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified. */
7121
+ enablePrivateKnowledgeGraph?: boolean;
7122
+ /** Optional. Feature config for the Knowledge Graph. */
7123
+ featureConfig?: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig;
7124
+ /** Specify entity types to support. */
7125
+ privateKnowledgeGraphTypes?: string[];
7126
+ }
7127
+ interface GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig {
7128
+ /** Whether to disable the private KG auto complete for the engine. Defaults to false if not specified. */
7129
+ disablePrivateKgAutoComplete?: boolean;
7130
+ /** Whether to disable the private KG enrichment for the engine. Defaults to false if not specified. */
7131
+ disablePrivateKgEnrichment?: boolean;
7132
+ /** Whether to disable the private KG for query UI chips. Defaults to false if not specified. */
7133
+ disablePrivateKgQueryUiChips?: boolean;
7134
+ /** Whether to disable the private KG query understanding for the engine. Defaults to false if not specified. */
7135
+ disablePrivateKgQueryUnderstanding?: boolean;
7136
+ }
7029
7137
  interface GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig {
7030
7138
  /** Optional. Additional engine features config. */
7031
7139
  engineFeaturesConfig?: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig;
@@ -7071,6 +7179,8 @@ declare namespace gapi.client {
7071
7179
  enableConfigurableSchema?: boolean;
7072
7180
  /** 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. */
7073
7181
  enableStaticIndexingForBatchIngestion?: boolean;
7182
+ /** 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. */
7183
+ initialFilterGroups?: string[];
7074
7184
  }
7075
7185
  interface GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata {
7076
7186
  /** The number of IdentityMappingEntries that failed to be processed. */
@@ -12534,6 +12644,64 @@ declare namespace gapi.client {
12534
12644
  ): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
12535
12645
  }
12536
12646
  interface DataStoresResource {
12647
+ /** 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. */
12648
+ addPatientFilter(request: {
12649
+ /** V1 error format. */
12650
+ '$.xgafv'?: string;
12651
+ /** OAuth access token. */
12652
+ access_token?: string;
12653
+ /** Data format for response. */
12654
+ alt?: string;
12655
+ /** JSONP */
12656
+ callback?: string;
12657
+ /** 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. */
12658
+ dataStore: string;
12659
+ /** Selector specifying which fields to include in a partial response. */
12660
+ fields?: string;
12661
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
12662
+ key?: string;
12663
+ /** OAuth 2.0 token for the current user. */
12664
+ oauth_token?: string;
12665
+ /** Returns response with indentations and line breaks. */
12666
+ prettyPrint?: boolean;
12667
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
12668
+ quotaUser?: string;
12669
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12670
+ upload_protocol?: string;
12671
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12672
+ uploadType?: string;
12673
+ /** Request body */
12674
+ resource: GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest;
12675
+ }): Request<GoogleLongrunningOperation>;
12676
+ addPatientFilter(
12677
+ request: {
12678
+ /** V1 error format. */
12679
+ '$.xgafv'?: string;
12680
+ /** OAuth access token. */
12681
+ access_token?: string;
12682
+ /** Data format for response. */
12683
+ alt?: string;
12684
+ /** JSONP */
12685
+ callback?: string;
12686
+ /** 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. */
12687
+ dataStore: string;
12688
+ /** Selector specifying which fields to include in a partial response. */
12689
+ fields?: string;
12690
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
12691
+ key?: string;
12692
+ /** OAuth 2.0 token for the current user. */
12693
+ oauth_token?: string;
12694
+ /** Returns response with indentations and line breaks. */
12695
+ prettyPrint?: boolean;
12696
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
12697
+ quotaUser?: string;
12698
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12699
+ upload_protocol?: string;
12700
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12701
+ uploadType?: string;
12702
+ },
12703
+ body: GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest,
12704
+ ): Request<GoogleLongrunningOperation>;
12537
12705
  /** Completes the specified user input with keyword suggestions. */
12538
12706
  completeQuery(request?: {
12539
12707
  /** V1 error format. */
@@ -12674,6 +12842,64 @@ declare namespace gapi.client {
12674
12842
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12675
12843
  uploadType?: string;
12676
12844
  }): Request<GoogleLongrunningOperation>;
12845
+ /** 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. */
12846
+ deletePatientFilter(request: {
12847
+ /** V1 error format. */
12848
+ '$.xgafv'?: string;
12849
+ /** OAuth access token. */
12850
+ access_token?: string;
12851
+ /** Data format for response. */
12852
+ alt?: string;
12853
+ /** JSONP */
12854
+ callback?: string;
12855
+ /** 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. */
12856
+ dataStore: string;
12857
+ /** Selector specifying which fields to include in a partial response. */
12858
+ fields?: string;
12859
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
12860
+ key?: string;
12861
+ /** OAuth 2.0 token for the current user. */
12862
+ oauth_token?: string;
12863
+ /** Returns response with indentations and line breaks. */
12864
+ prettyPrint?: boolean;
12865
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
12866
+ quotaUser?: string;
12867
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12868
+ upload_protocol?: string;
12869
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12870
+ uploadType?: string;
12871
+ /** Request body */
12872
+ resource: GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest;
12873
+ }): Request<GoogleLongrunningOperation>;
12874
+ deletePatientFilter(
12875
+ request: {
12876
+ /** V1 error format. */
12877
+ '$.xgafv'?: string;
12878
+ /** OAuth access token. */
12879
+ access_token?: string;
12880
+ /** Data format for response. */
12881
+ alt?: string;
12882
+ /** JSONP */
12883
+ callback?: string;
12884
+ /** 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. */
12885
+ dataStore: string;
12886
+ /** Selector specifying which fields to include in a partial response. */
12887
+ fields?: string;
12888
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
12889
+ key?: string;
12890
+ /** OAuth 2.0 token for the current user. */
12891
+ oauth_token?: string;
12892
+ /** Returns response with indentations and line breaks. */
12893
+ prettyPrint?: boolean;
12894
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
12895
+ quotaUser?: string;
12896
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12897
+ upload_protocol?: string;
12898
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12899
+ uploadType?: string;
12900
+ },
12901
+ body: GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest,
12902
+ ): Request<GoogleLongrunningOperation>;
12677
12903
  /** Gets a DataStore. */
12678
12904
  get(request?: {
12679
12905
  /** V1 error format. */
@@ -12850,6 +13076,122 @@ declare namespace gapi.client {
12850
13076
  },
12851
13077
  body: GoogleCloudDiscoveryengineV1alphaDataStore,
12852
13078
  ): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
13079
+ /** 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. */
13080
+ removePatientFilter(request: {
13081
+ /** V1 error format. */
13082
+ '$.xgafv'?: string;
13083
+ /** OAuth access token. */
13084
+ access_token?: string;
13085
+ /** Data format for response. */
13086
+ alt?: string;
13087
+ /** JSONP */
13088
+ callback?: string;
13089
+ /** 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 */
13090
+ dataStore: string;
13091
+ /** Selector specifying which fields to include in a partial response. */
13092
+ fields?: string;
13093
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13094
+ key?: string;
13095
+ /** OAuth 2.0 token for the current user. */
13096
+ oauth_token?: string;
13097
+ /** Returns response with indentations and line breaks. */
13098
+ prettyPrint?: boolean;
13099
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
13100
+ quotaUser?: string;
13101
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13102
+ upload_protocol?: string;
13103
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13104
+ uploadType?: string;
13105
+ /** Request body */
13106
+ resource: GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest;
13107
+ }): Request<GoogleLongrunningOperation>;
13108
+ removePatientFilter(
13109
+ request: {
13110
+ /** V1 error format. */
13111
+ '$.xgafv'?: string;
13112
+ /** OAuth access token. */
13113
+ access_token?: string;
13114
+ /** Data format for response. */
13115
+ alt?: string;
13116
+ /** JSONP */
13117
+ callback?: string;
13118
+ /** 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 */
13119
+ dataStore: string;
13120
+ /** Selector specifying which fields to include in a partial response. */
13121
+ fields?: string;
13122
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13123
+ key?: string;
13124
+ /** OAuth 2.0 token for the current user. */
13125
+ oauth_token?: string;
13126
+ /** Returns response with indentations and line breaks. */
13127
+ prettyPrint?: boolean;
13128
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
13129
+ quotaUser?: string;
13130
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13131
+ upload_protocol?: string;
13132
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13133
+ uploadType?: string;
13134
+ },
13135
+ body: GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest,
13136
+ ): Request<GoogleLongrunningOperation>;
13137
+ /** 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. */
13138
+ replacePatientFilter(request: {
13139
+ /** V1 error format. */
13140
+ '$.xgafv'?: string;
13141
+ /** OAuth access token. */
13142
+ access_token?: string;
13143
+ /** Data format for response. */
13144
+ alt?: string;
13145
+ /** JSONP */
13146
+ callback?: string;
13147
+ /** 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. */
13148
+ dataStore: string;
13149
+ /** Selector specifying which fields to include in a partial response. */
13150
+ fields?: string;
13151
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13152
+ key?: string;
13153
+ /** OAuth 2.0 token for the current user. */
13154
+ oauth_token?: string;
13155
+ /** Returns response with indentations and line breaks. */
13156
+ prettyPrint?: boolean;
13157
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
13158
+ quotaUser?: string;
13159
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13160
+ upload_protocol?: string;
13161
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13162
+ uploadType?: string;
13163
+ /** Request body */
13164
+ resource: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest;
13165
+ }): Request<GoogleLongrunningOperation>;
13166
+ replacePatientFilter(
13167
+ request: {
13168
+ /** V1 error format. */
13169
+ '$.xgafv'?: string;
13170
+ /** OAuth access token. */
13171
+ access_token?: string;
13172
+ /** Data format for response. */
13173
+ alt?: string;
13174
+ /** JSONP */
13175
+ callback?: string;
13176
+ /** 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. */
13177
+ dataStore: string;
13178
+ /** Selector specifying which fields to include in a partial response. */
13179
+ fields?: string;
13180
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13181
+ key?: string;
13182
+ /** OAuth 2.0 token for the current user. */
13183
+ oauth_token?: string;
13184
+ /** Returns response with indentations and line breaks. */
13185
+ prettyPrint?: boolean;
13186
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
13187
+ quotaUser?: string;
13188
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13189
+ upload_protocol?: string;
13190
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13191
+ uploadType?: string;
13192
+ },
13193
+ body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
13194
+ ): Request<GoogleLongrunningOperation>;
12853
13195
  /** Trains a custom model. */
12854
13196
  trainCustomModel(request: {
12855
13197
  /** V1 error format. */
@@ -19751,6 +20093,64 @@ declare namespace gapi.client {
19751
20093
  ): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
19752
20094
  }
19753
20095
  interface DataStoresResource {
20096
+ /** 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. */
20097
+ addPatientFilter(request: {
20098
+ /** V1 error format. */
20099
+ '$.xgafv'?: string;
20100
+ /** OAuth access token. */
20101
+ access_token?: string;
20102
+ /** Data format for response. */
20103
+ alt?: string;
20104
+ /** JSONP */
20105
+ callback?: string;
20106
+ /** 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. */
20107
+ dataStore: string;
20108
+ /** Selector specifying which fields to include in a partial response. */
20109
+ fields?: string;
20110
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
20111
+ key?: string;
20112
+ /** OAuth 2.0 token for the current user. */
20113
+ oauth_token?: string;
20114
+ /** Returns response with indentations and line breaks. */
20115
+ prettyPrint?: boolean;
20116
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
20117
+ quotaUser?: string;
20118
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20119
+ upload_protocol?: string;
20120
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20121
+ uploadType?: string;
20122
+ /** Request body */
20123
+ resource: GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest;
20124
+ }): Request<GoogleLongrunningOperation>;
20125
+ addPatientFilter(
20126
+ request: {
20127
+ /** V1 error format. */
20128
+ '$.xgafv'?: string;
20129
+ /** OAuth access token. */
20130
+ access_token?: string;
20131
+ /** Data format for response. */
20132
+ alt?: string;
20133
+ /** JSONP */
20134
+ callback?: string;
20135
+ /** 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. */
20136
+ dataStore: string;
20137
+ /** Selector specifying which fields to include in a partial response. */
20138
+ fields?: string;
20139
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
20140
+ key?: string;
20141
+ /** OAuth 2.0 token for the current user. */
20142
+ oauth_token?: string;
20143
+ /** Returns response with indentations and line breaks. */
20144
+ prettyPrint?: boolean;
20145
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
20146
+ quotaUser?: string;
20147
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20148
+ upload_protocol?: string;
20149
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20150
+ uploadType?: string;
20151
+ },
20152
+ body: GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest,
20153
+ ): Request<GoogleLongrunningOperation>;
19754
20154
  /** Completes the specified user input with keyword suggestions. */
19755
20155
  completeQuery(request?: {
19756
20156
  /** V1 error format. */
@@ -19891,6 +20291,64 @@ declare namespace gapi.client {
19891
20291
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19892
20292
  uploadType?: string;
19893
20293
  }): Request<GoogleLongrunningOperation>;
20294
+ /** 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. */
20295
+ deletePatientFilter(request: {
20296
+ /** V1 error format. */
20297
+ '$.xgafv'?: string;
20298
+ /** OAuth access token. */
20299
+ access_token?: string;
20300
+ /** Data format for response. */
20301
+ alt?: string;
20302
+ /** JSONP */
20303
+ callback?: string;
20304
+ /** 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. */
20305
+ dataStore: string;
20306
+ /** Selector specifying which fields to include in a partial response. */
20307
+ fields?: string;
20308
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
20309
+ key?: string;
20310
+ /** OAuth 2.0 token for the current user. */
20311
+ oauth_token?: string;
20312
+ /** Returns response with indentations and line breaks. */
20313
+ prettyPrint?: boolean;
20314
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
20315
+ quotaUser?: string;
20316
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20317
+ upload_protocol?: string;
20318
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20319
+ uploadType?: string;
20320
+ /** Request body */
20321
+ resource: GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest;
20322
+ }): Request<GoogleLongrunningOperation>;
20323
+ deletePatientFilter(
20324
+ request: {
20325
+ /** V1 error format. */
20326
+ '$.xgafv'?: string;
20327
+ /** OAuth access token. */
20328
+ access_token?: string;
20329
+ /** Data format for response. */
20330
+ alt?: string;
20331
+ /** JSONP */
20332
+ callback?: string;
20333
+ /** 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. */
20334
+ dataStore: string;
20335
+ /** Selector specifying which fields to include in a partial response. */
20336
+ fields?: string;
20337
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
20338
+ key?: string;
20339
+ /** OAuth 2.0 token for the current user. */
20340
+ oauth_token?: string;
20341
+ /** Returns response with indentations and line breaks. */
20342
+ prettyPrint?: boolean;
20343
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
20344
+ quotaUser?: string;
20345
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20346
+ upload_protocol?: string;
20347
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20348
+ uploadType?: string;
20349
+ },
20350
+ body: GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest,
20351
+ ): Request<GoogleLongrunningOperation>;
19894
20352
  /** Gets a DataStore. */
19895
20353
  get(request?: {
19896
20354
  /** V1 error format. */
@@ -20067,6 +20525,122 @@ declare namespace gapi.client {
20067
20525
  },
20068
20526
  body: GoogleCloudDiscoveryengineV1alphaDataStore,
20069
20527
  ): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
20528
+ /** 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. */
20529
+ removePatientFilter(request: {
20530
+ /** V1 error format. */
20531
+ '$.xgafv'?: string;
20532
+ /** OAuth access token. */
20533
+ access_token?: string;
20534
+ /** Data format for response. */
20535
+ alt?: string;
20536
+ /** JSONP */
20537
+ callback?: string;
20538
+ /** 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 */
20539
+ dataStore: string;
20540
+ /** Selector specifying which fields to include in a partial response. */
20541
+ fields?: string;
20542
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
20543
+ key?: string;
20544
+ /** OAuth 2.0 token for the current user. */
20545
+ oauth_token?: string;
20546
+ /** Returns response with indentations and line breaks. */
20547
+ prettyPrint?: boolean;
20548
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
20549
+ quotaUser?: string;
20550
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20551
+ upload_protocol?: string;
20552
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20553
+ uploadType?: string;
20554
+ /** Request body */
20555
+ resource: GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest;
20556
+ }): Request<GoogleLongrunningOperation>;
20557
+ removePatientFilter(
20558
+ request: {
20559
+ /** V1 error format. */
20560
+ '$.xgafv'?: string;
20561
+ /** OAuth access token. */
20562
+ access_token?: string;
20563
+ /** Data format for response. */
20564
+ alt?: string;
20565
+ /** JSONP */
20566
+ callback?: string;
20567
+ /** 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 */
20568
+ dataStore: string;
20569
+ /** Selector specifying which fields to include in a partial response. */
20570
+ fields?: string;
20571
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
20572
+ key?: string;
20573
+ /** OAuth 2.0 token for the current user. */
20574
+ oauth_token?: string;
20575
+ /** Returns response with indentations and line breaks. */
20576
+ prettyPrint?: boolean;
20577
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
20578
+ quotaUser?: string;
20579
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20580
+ upload_protocol?: string;
20581
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20582
+ uploadType?: string;
20583
+ },
20584
+ body: GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest,
20585
+ ): Request<GoogleLongrunningOperation>;
20586
+ /** 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. */
20587
+ replacePatientFilter(request: {
20588
+ /** V1 error format. */
20589
+ '$.xgafv'?: string;
20590
+ /** OAuth access token. */
20591
+ access_token?: string;
20592
+ /** Data format for response. */
20593
+ alt?: string;
20594
+ /** JSONP */
20595
+ callback?: string;
20596
+ /** 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. */
20597
+ dataStore: string;
20598
+ /** Selector specifying which fields to include in a partial response. */
20599
+ fields?: string;
20600
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
20601
+ key?: string;
20602
+ /** OAuth 2.0 token for the current user. */
20603
+ oauth_token?: string;
20604
+ /** Returns response with indentations and line breaks. */
20605
+ prettyPrint?: boolean;
20606
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
20607
+ quotaUser?: string;
20608
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20609
+ upload_protocol?: string;
20610
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20611
+ uploadType?: string;
20612
+ /** Request body */
20613
+ resource: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest;
20614
+ }): Request<GoogleLongrunningOperation>;
20615
+ replacePatientFilter(
20616
+ request: {
20617
+ /** V1 error format. */
20618
+ '$.xgafv'?: string;
20619
+ /** OAuth access token. */
20620
+ access_token?: string;
20621
+ /** Data format for response. */
20622
+ alt?: string;
20623
+ /** JSONP */
20624
+ callback?: string;
20625
+ /** 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. */
20626
+ dataStore: string;
20627
+ /** Selector specifying which fields to include in a partial response. */
20628
+ fields?: string;
20629
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
20630
+ key?: string;
20631
+ /** OAuth 2.0 token for the current user. */
20632
+ oauth_token?: string;
20633
+ /** Returns response with indentations and line breaks. */
20634
+ prettyPrint?: boolean;
20635
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
20636
+ quotaUser?: string;
20637
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20638
+ upload_protocol?: string;
20639
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20640
+ uploadType?: string;
20641
+ },
20642
+ body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
20643
+ ): Request<GoogleLongrunningOperation>;
20070
20644
  /** 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. */
20071
20645
  updateDocumentProcessingConfig(request: {
20072
20646
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.1.20260107",
3
+ "version": "0.1.20260112",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",