google-apis-discoveryengine_v1alpha 0.88.0 → 0.90.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.
@@ -1581,6 +1581,50 @@ module Google
1581
1581
  execute_or_queue_command(command, &block)
1582
1582
  end
1583
1583
 
1584
+ # Adds a group of patient IDs as a patient filter for the data store. Patient
1585
+ # filters are empty by default when a data store is created, and are stored in a
1586
+ # separate table. The data store must first be created, and must be a healthcare
1587
+ # data store. The filter group must be a FHIR resource name of type Group, and
1588
+ # the filter will be constructed from the direct members of the group which are
1589
+ # Patient resources.
1590
+ # @param [String] data_store
1591
+ # Required. Full resource name of DataStore, such as `projects/`project`/
1592
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
1593
+ # If the caller does not have permission to access the DataStore, regardless of
1594
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
1595
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
1596
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
1597
+ # be returned.
1598
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest] google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object
1599
+ # @param [String] fields
1600
+ # Selector specifying which fields to include in a partial response.
1601
+ # @param [String] quota_user
1602
+ # Available to use for quota purposes for server-side applications. Can be any
1603
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1604
+ # @param [Google::Apis::RequestOptions] options
1605
+ # Request-specific options
1606
+ #
1607
+ # @yield [result, err] Result & error if block supplied
1608
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
1609
+ # @yieldparam err [StandardError] error object if request failed
1610
+ #
1611
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
1612
+ #
1613
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1614
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1615
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1616
+ def add_project_location_collection_data_store_patient_filter(data_store, google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1617
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:addPatientFilter', options)
1618
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest::Representation
1619
+ command.request_object = google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object
1620
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
1621
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
1622
+ command.params['dataStore'] = data_store unless data_store.nil?
1623
+ command.query['fields'] = fields unless fields.nil?
1624
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1625
+ execute_or_queue_command(command, &block)
1626
+ end
1627
+
1584
1628
  # Completes the specified user input with keyword suggestions.
1585
1629
  # @param [String] data_store
1586
1630
  # Required. The parent data store resource name for which the completion is
@@ -1740,6 +1784,48 @@ module Google
1740
1784
  execute_or_queue_command(command, &block)
1741
1785
  end
1742
1786
 
1787
+ # Deletes the entire patient filter for the data store. Patient filters are
1788
+ # empty by default when a data store is created, and are stored in a separate
1789
+ # table. The data store must first be created, and must be a healthcare data
1790
+ # store. This method will fail if the data store does not have a patient filter.
1791
+ # @param [String] data_store
1792
+ # Required. Full resource name of DataStore, such as `projects/`project`/
1793
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
1794
+ # If the caller does not have permission to access the DataStore, regardless of
1795
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
1796
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
1797
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
1798
+ # returned.
1799
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest] google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object
1800
+ # @param [String] fields
1801
+ # Selector specifying which fields to include in a partial response.
1802
+ # @param [String] quota_user
1803
+ # Available to use for quota purposes for server-side applications. Can be any
1804
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1805
+ # @param [Google::Apis::RequestOptions] options
1806
+ # Request-specific options
1807
+ #
1808
+ # @yield [result, err] Result & error if block supplied
1809
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
1810
+ # @yieldparam err [StandardError] error object if request failed
1811
+ #
1812
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
1813
+ #
1814
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1815
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1816
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1817
+ def delete_project_location_collection_data_store_patient_filter(data_store, google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1818
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:deletePatientFilter', options)
1819
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest::Representation
1820
+ command.request_object = google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object
1821
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
1822
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
1823
+ command.params['dataStore'] = data_store unless data_store.nil?
1824
+ command.query['fields'] = fields unless fields.nil?
1825
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1826
+ execute_or_queue_command(command, &block)
1827
+ end
1828
+
1743
1829
  # Gets a DataStore.
1744
1830
  # @param [String] name
1745
1831
  # Required. Full resource name of DataStore, such as `projects/`project`/
@@ -1929,6 +2015,97 @@ module Google
1929
2015
  execute_or_queue_command(command, &block)
1930
2016
  end
1931
2017
 
2018
+ # Removes a group of patient IDs from the patient filter for the data store.
2019
+ # Patient filters are empty by default when a data store is created, and are
2020
+ # stored in a separate table. The data store must first be created, and must be
2021
+ # a healthcare data store. This method will fail if the data store does not have
2022
+ # a patient filter. The filter group must be a FHIR resource name of type Group,
2023
+ # and the list of patient IDs to remove will be constructed from the direct
2024
+ # members of the group which are Patient resources.
2025
+ # @param [String] data_store
2026
+ # Required. Full resource name of DataStore, such as `projects/`project`/
2027
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
2028
+ # If the caller does not have permission to access the DataStore, regardless of
2029
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
2030
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
2031
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
2032
+ # returned
2033
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest] google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object
2034
+ # @param [String] fields
2035
+ # Selector specifying which fields to include in a partial response.
2036
+ # @param [String] quota_user
2037
+ # Available to use for quota purposes for server-side applications. Can be any
2038
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2039
+ # @param [Google::Apis::RequestOptions] options
2040
+ # Request-specific options
2041
+ #
2042
+ # @yield [result, err] Result & error if block supplied
2043
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
2044
+ # @yieldparam err [StandardError] error object if request failed
2045
+ #
2046
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
2047
+ #
2048
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2049
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2050
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2051
+ def remove_project_location_collection_data_store_patient_filter(data_store, google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2052
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:removePatientFilter', options)
2053
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest::Representation
2054
+ command.request_object = google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object
2055
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
2056
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
2057
+ command.params['dataStore'] = data_store unless data_store.nil?
2058
+ command.query['fields'] = fields unless fields.nil?
2059
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2060
+ execute_or_queue_command(command, &block)
2061
+ end
2062
+
2063
+ # Replaces the patient filter for the data store. This method is essentially a
2064
+ # combination of DeletePatientFilters and AddPatientFilter. Patient filters are
2065
+ # empty by default when a data store is created, and are stored in a separate
2066
+ # table. The data store must first be created, and must be a healthcare data
2067
+ # store. This method will fail if the data store does not have a patient filter.
2068
+ # The filter group must be a FHIR resource name of type Group, and the new
2069
+ # filter will be constructed from the direct members of the group which are
2070
+ # Patient resources.
2071
+ # @param [String] data_store
2072
+ # Required. Full resource name of DataStore, such as `projects/`project`/
2073
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
2074
+ # If the caller does not have permission to access the DataStore, regardless of
2075
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
2076
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
2077
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
2078
+ # be returned.
2079
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest] google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object
2080
+ # @param [String] fields
2081
+ # Selector specifying which fields to include in a partial response.
2082
+ # @param [String] quota_user
2083
+ # Available to use for quota purposes for server-side applications. Can be any
2084
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2085
+ # @param [Google::Apis::RequestOptions] options
2086
+ # Request-specific options
2087
+ #
2088
+ # @yield [result, err] Result & error if block supplied
2089
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
2090
+ # @yieldparam err [StandardError] error object if request failed
2091
+ #
2092
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
2093
+ #
2094
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2095
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2096
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2097
+ def replace_project_location_collection_data_store_patient_filter(data_store, google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2098
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:replacePatientFilter', options)
2099
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest::Representation
2100
+ command.request_object = google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object
2101
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
2102
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
2103
+ command.params['dataStore'] = data_store unless data_store.nil?
2104
+ command.query['fields'] = fields unless fields.nil?
2105
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2106
+ execute_or_queue_command(command, &block)
2107
+ end
2108
+
1932
2109
  # Trains a custom model.
1933
2110
  # @param [String] data_store
1934
2111
  # Required. The resource name of the Data Store, such as `projects/*/locations/
@@ -8125,6 +8302,50 @@ module Google
8125
8302
  execute_or_queue_command(command, &block)
8126
8303
  end
8127
8304
 
8305
+ # Adds a group of patient IDs as a patient filter for the data store. Patient
8306
+ # filters are empty by default when a data store is created, and are stored in a
8307
+ # separate table. The data store must first be created, and must be a healthcare
8308
+ # data store. The filter group must be a FHIR resource name of type Group, and
8309
+ # the filter will be constructed from the direct members of the group which are
8310
+ # Patient resources.
8311
+ # @param [String] data_store
8312
+ # Required. Full resource name of DataStore, such as `projects/`project`/
8313
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
8314
+ # If the caller does not have permission to access the DataStore, regardless of
8315
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
8316
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
8317
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
8318
+ # be returned.
8319
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest] google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object
8320
+ # @param [String] fields
8321
+ # Selector specifying which fields to include in a partial response.
8322
+ # @param [String] quota_user
8323
+ # Available to use for quota purposes for server-side applications. Can be any
8324
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8325
+ # @param [Google::Apis::RequestOptions] options
8326
+ # Request-specific options
8327
+ #
8328
+ # @yield [result, err] Result & error if block supplied
8329
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
8330
+ # @yieldparam err [StandardError] error object if request failed
8331
+ #
8332
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
8333
+ #
8334
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8335
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8336
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8337
+ def add_project_location_data_store_patient_filter(data_store, google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8338
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:addPatientFilter', options)
8339
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest::Representation
8340
+ command.request_object = google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object
8341
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
8342
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
8343
+ command.params['dataStore'] = data_store unless data_store.nil?
8344
+ command.query['fields'] = fields unless fields.nil?
8345
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8346
+ execute_or_queue_command(command, &block)
8347
+ end
8348
+
8128
8349
  # Completes the specified user input with keyword suggestions.
8129
8350
  # @param [String] data_store
8130
8351
  # Required. The parent data store resource name for which the completion is
@@ -8284,6 +8505,48 @@ module Google
8284
8505
  execute_or_queue_command(command, &block)
8285
8506
  end
8286
8507
 
8508
+ # Deletes the entire patient filter for the data store. Patient filters are
8509
+ # empty by default when a data store is created, and are stored in a separate
8510
+ # table. The data store must first be created, and must be a healthcare data
8511
+ # store. This method will fail if the data store does not have a patient filter.
8512
+ # @param [String] data_store
8513
+ # Required. Full resource name of DataStore, such as `projects/`project`/
8514
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
8515
+ # If the caller does not have permission to access the DataStore, regardless of
8516
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
8517
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
8518
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
8519
+ # returned.
8520
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest] google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object
8521
+ # @param [String] fields
8522
+ # Selector specifying which fields to include in a partial response.
8523
+ # @param [String] quota_user
8524
+ # Available to use for quota purposes for server-side applications. Can be any
8525
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8526
+ # @param [Google::Apis::RequestOptions] options
8527
+ # Request-specific options
8528
+ #
8529
+ # @yield [result, err] Result & error if block supplied
8530
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
8531
+ # @yieldparam err [StandardError] error object if request failed
8532
+ #
8533
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
8534
+ #
8535
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8536
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8537
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8538
+ def delete_project_location_data_store_patient_filter(data_store, google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8539
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:deletePatientFilter', options)
8540
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest::Representation
8541
+ command.request_object = google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object
8542
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
8543
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
8544
+ command.params['dataStore'] = data_store unless data_store.nil?
8545
+ command.query['fields'] = fields unless fields.nil?
8546
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8547
+ execute_or_queue_command(command, &block)
8548
+ end
8549
+
8287
8550
  # Gets a DataStore.
8288
8551
  # @param [String] name
8289
8552
  # Required. Full resource name of DataStore, such as `projects/`project`/
@@ -8473,6 +8736,97 @@ module Google
8473
8736
  execute_or_queue_command(command, &block)
8474
8737
  end
8475
8738
 
8739
+ # Removes a group of patient IDs from the patient filter for the data store.
8740
+ # Patient filters are empty by default when a data store is created, and are
8741
+ # stored in a separate table. The data store must first be created, and must be
8742
+ # a healthcare data store. This method will fail if the data store does not have
8743
+ # a patient filter. The filter group must be a FHIR resource name of type Group,
8744
+ # and the list of patient IDs to remove will be constructed from the direct
8745
+ # members of the group which are Patient resources.
8746
+ # @param [String] data_store
8747
+ # Required. Full resource name of DataStore, such as `projects/`project`/
8748
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
8749
+ # If the caller does not have permission to access the DataStore, regardless of
8750
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
8751
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
8752
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
8753
+ # returned
8754
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest] google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object
8755
+ # @param [String] fields
8756
+ # Selector specifying which fields to include in a partial response.
8757
+ # @param [String] quota_user
8758
+ # Available to use for quota purposes for server-side applications. Can be any
8759
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8760
+ # @param [Google::Apis::RequestOptions] options
8761
+ # Request-specific options
8762
+ #
8763
+ # @yield [result, err] Result & error if block supplied
8764
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
8765
+ # @yieldparam err [StandardError] error object if request failed
8766
+ #
8767
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
8768
+ #
8769
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8770
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8771
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8772
+ def remove_project_location_data_store_patient_filter(data_store, google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8773
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:removePatientFilter', options)
8774
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest::Representation
8775
+ command.request_object = google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object
8776
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
8777
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
8778
+ command.params['dataStore'] = data_store unless data_store.nil?
8779
+ command.query['fields'] = fields unless fields.nil?
8780
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8781
+ execute_or_queue_command(command, &block)
8782
+ end
8783
+
8784
+ # Replaces the patient filter for the data store. This method is essentially a
8785
+ # combination of DeletePatientFilters and AddPatientFilter. Patient filters are
8786
+ # empty by default when a data store is created, and are stored in a separate
8787
+ # table. The data store must first be created, and must be a healthcare data
8788
+ # store. This method will fail if the data store does not have a patient filter.
8789
+ # The filter group must be a FHIR resource name of type Group, and the new
8790
+ # filter will be constructed from the direct members of the group which are
8791
+ # Patient resources.
8792
+ # @param [String] data_store
8793
+ # Required. Full resource name of DataStore, such as `projects/`project`/
8794
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
8795
+ # If the caller does not have permission to access the DataStore, regardless of
8796
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
8797
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
8798
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
8799
+ # be returned.
8800
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest] google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object
8801
+ # @param [String] fields
8802
+ # Selector specifying which fields to include in a partial response.
8803
+ # @param [String] quota_user
8804
+ # Available to use for quota purposes for server-side applications. Can be any
8805
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8806
+ # @param [Google::Apis::RequestOptions] options
8807
+ # Request-specific options
8808
+ #
8809
+ # @yield [result, err] Result & error if block supplied
8810
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
8811
+ # @yieldparam err [StandardError] error object if request failed
8812
+ #
8813
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
8814
+ #
8815
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8816
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8817
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8818
+ def replace_project_location_data_store_patient_filter(data_store, google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8819
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:replacePatientFilter', options)
8820
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest::Representation
8821
+ command.request_object = google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object
8822
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
8823
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
8824
+ command.params['dataStore'] = data_store unless data_store.nil?
8825
+ command.query['fields'] = fields unless fields.nil?
8826
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8827
+ execute_or_queue_command(command, &block)
8828
+ end
8829
+
8476
8830
  # Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon
8477
8831
  # resource of DataStore. It's empty when DataStore is created. The first call to
8478
8832
  # this method will set up DocumentProcessingConfig.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.88.0
4
+ version: 0.90.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.88.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.90.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: