google-apis-discoveryengine_v1alpha 0.89.0 → 0.91.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.
@@ -229,7 +229,8 @@ module Google
229
229
  # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject] google_cloud_discoveryengine_v1alpha_project_object
230
230
  # @param [String] update_mask
231
231
  # Optional. The list of fields to update. Supported fields: * `
232
- # customer_provided_config`
232
+ # customer_provided_config` * `customer_provided_config.notebooklm_config.
233
+ # observability_config`
233
234
  # @param [String] fields
234
235
  # Selector specifying which fields to include in a partial response.
235
236
  # @param [String] quota_user
@@ -1581,6 +1582,50 @@ module Google
1581
1582
  execute_or_queue_command(command, &block)
1582
1583
  end
1583
1584
 
1585
+ # Adds a group of patient IDs as a patient filter for the data store. Patient
1586
+ # filters are empty by default when a data store is created, and are stored in a
1587
+ # separate table. The data store must first be created, and must be a healthcare
1588
+ # data store. The filter group must be a FHIR resource name of type Group, and
1589
+ # the filter will be constructed from the direct members of the group which are
1590
+ # Patient resources.
1591
+ # @param [String] data_store
1592
+ # Required. Full resource name of DataStore, such as `projects/`project`/
1593
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
1594
+ # If the caller does not have permission to access the DataStore, regardless of
1595
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
1596
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
1597
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
1598
+ # be returned.
1599
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest] google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object
1600
+ # @param [String] fields
1601
+ # Selector specifying which fields to include in a partial response.
1602
+ # @param [String] quota_user
1603
+ # Available to use for quota purposes for server-side applications. Can be any
1604
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1605
+ # @param [Google::Apis::RequestOptions] options
1606
+ # Request-specific options
1607
+ #
1608
+ # @yield [result, err] Result & error if block supplied
1609
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
1610
+ # @yieldparam err [StandardError] error object if request failed
1611
+ #
1612
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
1613
+ #
1614
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1615
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1616
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1617
+ 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)
1618
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:addPatientFilter', options)
1619
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest::Representation
1620
+ command.request_object = google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object
1621
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
1622
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
1623
+ command.params['dataStore'] = data_store unless data_store.nil?
1624
+ command.query['fields'] = fields unless fields.nil?
1625
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1626
+ execute_or_queue_command(command, &block)
1627
+ end
1628
+
1584
1629
  # Completes the specified user input with keyword suggestions.
1585
1630
  # @param [String] data_store
1586
1631
  # Required. The parent data store resource name for which the completion is
@@ -1740,6 +1785,48 @@ module Google
1740
1785
  execute_or_queue_command(command, &block)
1741
1786
  end
1742
1787
 
1788
+ # Deletes the entire patient filter for the data store. Patient filters are
1789
+ # empty by default when a data store is created, and are stored in a separate
1790
+ # table. The data store must first be created, and must be a healthcare data
1791
+ # store. This method will fail if the data store does not have a patient filter.
1792
+ # @param [String] data_store
1793
+ # Required. Full resource name of DataStore, such as `projects/`project`/
1794
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
1795
+ # If the caller does not have permission to access the DataStore, regardless of
1796
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
1797
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
1798
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
1799
+ # returned.
1800
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest] google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object
1801
+ # @param [String] fields
1802
+ # Selector specifying which fields to include in a partial response.
1803
+ # @param [String] quota_user
1804
+ # Available to use for quota purposes for server-side applications. Can be any
1805
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1806
+ # @param [Google::Apis::RequestOptions] options
1807
+ # Request-specific options
1808
+ #
1809
+ # @yield [result, err] Result & error if block supplied
1810
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
1811
+ # @yieldparam err [StandardError] error object if request failed
1812
+ #
1813
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
1814
+ #
1815
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1816
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1817
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1818
+ 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)
1819
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:deletePatientFilter', options)
1820
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest::Representation
1821
+ command.request_object = google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object
1822
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
1823
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
1824
+ command.params['dataStore'] = data_store unless data_store.nil?
1825
+ command.query['fields'] = fields unless fields.nil?
1826
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1827
+ execute_or_queue_command(command, &block)
1828
+ end
1829
+
1743
1830
  # Gets a DataStore.
1744
1831
  # @param [String] name
1745
1832
  # Required. Full resource name of DataStore, such as `projects/`project`/
@@ -1929,6 +2016,97 @@ module Google
1929
2016
  execute_or_queue_command(command, &block)
1930
2017
  end
1931
2018
 
2019
+ # Removes a group of patient IDs from the patient filter for the data store.
2020
+ # Patient filters are empty by default when a data store is created, and are
2021
+ # stored in a separate table. The data store must first be created, and must be
2022
+ # a healthcare data store. This method will fail if the data store does not have
2023
+ # a patient filter. The filter group must be a FHIR resource name of type Group,
2024
+ # and the list of patient IDs to remove will be constructed from the direct
2025
+ # members of the group which are Patient resources.
2026
+ # @param [String] data_store
2027
+ # Required. Full resource name of DataStore, such as `projects/`project`/
2028
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
2029
+ # If the caller does not have permission to access the DataStore, regardless of
2030
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
2031
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
2032
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
2033
+ # returned
2034
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest] google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object
2035
+ # @param [String] fields
2036
+ # Selector specifying which fields to include in a partial response.
2037
+ # @param [String] quota_user
2038
+ # Available to use for quota purposes for server-side applications. Can be any
2039
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2040
+ # @param [Google::Apis::RequestOptions] options
2041
+ # Request-specific options
2042
+ #
2043
+ # @yield [result, err] Result & error if block supplied
2044
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
2045
+ # @yieldparam err [StandardError] error object if request failed
2046
+ #
2047
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
2048
+ #
2049
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2050
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2051
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2052
+ 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)
2053
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:removePatientFilter', options)
2054
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest::Representation
2055
+ command.request_object = google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object
2056
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
2057
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
2058
+ command.params['dataStore'] = data_store unless data_store.nil?
2059
+ command.query['fields'] = fields unless fields.nil?
2060
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2061
+ execute_or_queue_command(command, &block)
2062
+ end
2063
+
2064
+ # Replaces the patient filter for the data store. This method is essentially a
2065
+ # combination of DeletePatientFilters and AddPatientFilter. Patient filters are
2066
+ # empty by default when a data store is created, and are stored in a separate
2067
+ # table. The data store must first be created, and must be a healthcare data
2068
+ # store. This method will fail if the data store does not have a patient filter.
2069
+ # The filter group must be a FHIR resource name of type Group, and the new
2070
+ # filter will be constructed from the direct members of the group which are
2071
+ # Patient resources.
2072
+ # @param [String] data_store
2073
+ # Required. Full resource name of DataStore, such as `projects/`project`/
2074
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
2075
+ # If the caller does not have permission to access the DataStore, regardless of
2076
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
2077
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
2078
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
2079
+ # be returned.
2080
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest] google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object
2081
+ # @param [String] fields
2082
+ # Selector specifying which fields to include in a partial response.
2083
+ # @param [String] quota_user
2084
+ # Available to use for quota purposes for server-side applications. Can be any
2085
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2086
+ # @param [Google::Apis::RequestOptions] options
2087
+ # Request-specific options
2088
+ #
2089
+ # @yield [result, err] Result & error if block supplied
2090
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
2091
+ # @yieldparam err [StandardError] error object if request failed
2092
+ #
2093
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
2094
+ #
2095
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2096
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2097
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2098
+ 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)
2099
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:replacePatientFilter', options)
2100
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest::Representation
2101
+ command.request_object = google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object
2102
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
2103
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
2104
+ command.params['dataStore'] = data_store unless data_store.nil?
2105
+ command.query['fields'] = fields unless fields.nil?
2106
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2107
+ execute_or_queue_command(command, &block)
2108
+ end
2109
+
1932
2110
  # Trains a custom model.
1933
2111
  # @param [String] data_store
1934
2112
  # Required. The resource name of the Data Store, such as `projects/*/locations/
@@ -2052,8 +2230,8 @@ module Google
2052
2230
  # can be used as a special branch_id, it returns the default branch that has
2053
2231
  # been set for the document.
2054
2232
  # @param [String] view
2055
- # The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC
2056
- # if unspecified.
2233
+ # The view to apply to the returned Branch. Defaults to BranchView.
2234
+ # BRANCH_VIEW_BASIC if unspecified.
2057
2235
  # @param [String] fields
2058
2236
  # Selector specifying which fields to include in a partial response.
2059
2237
  # @param [String] quota_user
@@ -2086,8 +2264,8 @@ module Google
2086
2264
  # @param [String] parent
2087
2265
  # Required. The parent data store resource name.
2088
2266
  # @param [String] view
2089
- # The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC
2090
- # if unspecified.
2267
+ # The view to apply to the returned Branch. Defaults to BranchView.
2268
+ # BRANCH_VIEW_BASIC if unspecified.
2091
2269
  # @param [String] fields
2092
2270
  # Selector specifying which fields to include in a partial response.
2093
2271
  # @param [String] quota_user
@@ -5832,7 +6010,7 @@ module Google
5832
6010
  # @param [Fixnum] max_suggested_prompts
5833
6011
  # Optional. The maximum number of suggested prompts to return per agent.
5834
6012
  # @param [Fixnum] page_size
5835
- # Optional. Maximum number of AgentViewss to return. If unspecified, defaults to
6013
+ # Optional. Maximum number of AgentViews to return. If unspecified, defaults to
5836
6014
  # 100. The maximum allowed value is 1000; anything above that will be coerced
5837
6015
  # down to 1000.
5838
6016
  # @param [String] page_token
@@ -6030,6 +6208,9 @@ module Google
6030
6208
  # Required. The name of the Agent to disable. Format: `projects/`project`/
6031
6209
  # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
6032
6210
  # assistant`/agents/`agent``
6211
+ # @param [String] revision_id
6212
+ # Optional. The Revision ID of the Agent to disable. If not specified, the
6213
+ # latest revision will be disabled.
6033
6214
  # @param [String] fields
6034
6215
  # Selector specifying which fields to include in a partial response.
6035
6216
  # @param [String] quota_user
@@ -6047,11 +6228,12 @@ module Google
6047
6228
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6048
6229
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6049
6230
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6050
- def disable_project_location_collection_engine_assistant_agent_agent(name, fields: nil, quota_user: nil, options: nil, &block)
6231
+ def disable_project_location_collection_engine_assistant_agent_agent(name, revision_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6051
6232
  command = make_simple_command(:post, 'v1alpha/{+name}:disableAgent', options)
6052
6233
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent::Representation
6053
6234
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent
6054
6235
  command.params['name'] = name unless name.nil?
6236
+ command.query['revisionId'] = revision_id unless revision_id.nil?
6055
6237
  command.query['fields'] = fields unless fields.nil?
6056
6238
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6057
6239
  execute_or_queue_command(command, &block)
@@ -6063,6 +6245,9 @@ module Google
6063
6245
  # Required. The name of the Agent to enable. Format: `projects/`project`/
6064
6246
  # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
6065
6247
  # assistant`/agents/`agent``
6248
+ # @param [String] revision_id
6249
+ # Optional. The Revision ID of the Agent to enable. If not specified, the latest
6250
+ # revision will be enabled.
6066
6251
  # @param [String] fields
6067
6252
  # Selector specifying which fields to include in a partial response.
6068
6253
  # @param [String] quota_user
@@ -6080,11 +6265,12 @@ module Google
6080
6265
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6081
6266
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6082
6267
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6083
- def enable_project_location_collection_engine_assistant_agent_agent(name, fields: nil, quota_user: nil, options: nil, &block)
6268
+ def enable_project_location_collection_engine_assistant_agent_agent(name, revision_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6084
6269
  command = make_simple_command(:post, 'v1alpha/{+name}:enableAgent', options)
6085
6270
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent::Representation
6086
6271
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent
6087
6272
  command.params['name'] = name unless name.nil?
6273
+ command.query['revisionId'] = revision_id unless revision_id.nil?
6088
6274
  command.query['fields'] = fields unless fields.nil?
6089
6275
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6090
6276
  execute_or_queue_command(command, &block)
@@ -8125,6 +8311,50 @@ module Google
8125
8311
  execute_or_queue_command(command, &block)
8126
8312
  end
8127
8313
 
8314
+ # Adds a group of patient IDs as a patient filter for the data store. Patient
8315
+ # filters are empty by default when a data store is created, and are stored in a
8316
+ # separate table. The data store must first be created, and must be a healthcare
8317
+ # data store. The filter group must be a FHIR resource name of type Group, and
8318
+ # the filter will be constructed from the direct members of the group which are
8319
+ # Patient resources.
8320
+ # @param [String] data_store
8321
+ # Required. Full resource name of DataStore, such as `projects/`project`/
8322
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
8323
+ # If the caller does not have permission to access the DataStore, regardless of
8324
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
8325
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
8326
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
8327
+ # be returned.
8328
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest] google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object
8329
+ # @param [String] fields
8330
+ # Selector specifying which fields to include in a partial response.
8331
+ # @param [String] quota_user
8332
+ # Available to use for quota purposes for server-side applications. Can be any
8333
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8334
+ # @param [Google::Apis::RequestOptions] options
8335
+ # Request-specific options
8336
+ #
8337
+ # @yield [result, err] Result & error if block supplied
8338
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
8339
+ # @yieldparam err [StandardError] error object if request failed
8340
+ #
8341
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
8342
+ #
8343
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8344
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8345
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8346
+ 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)
8347
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:addPatientFilter', options)
8348
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest::Representation
8349
+ command.request_object = google_cloud_discoveryengine_v1alpha_add_patient_filter_request_object
8350
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
8351
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
8352
+ command.params['dataStore'] = data_store unless data_store.nil?
8353
+ command.query['fields'] = fields unless fields.nil?
8354
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8355
+ execute_or_queue_command(command, &block)
8356
+ end
8357
+
8128
8358
  # Completes the specified user input with keyword suggestions.
8129
8359
  # @param [String] data_store
8130
8360
  # Required. The parent data store resource name for which the completion is
@@ -8284,6 +8514,48 @@ module Google
8284
8514
  execute_or_queue_command(command, &block)
8285
8515
  end
8286
8516
 
8517
+ # Deletes the entire patient filter for the data store. Patient filters are
8518
+ # empty by default when a data store is created, and are stored in a separate
8519
+ # table. The data store must first be created, and must be a healthcare data
8520
+ # store. This method will fail if the data store does not have a patient filter.
8521
+ # @param [String] data_store
8522
+ # Required. Full resource name of DataStore, such as `projects/`project`/
8523
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
8524
+ # If the caller does not have permission to access the DataStore, regardless of
8525
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
8526
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
8527
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
8528
+ # returned.
8529
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest] google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object
8530
+ # @param [String] fields
8531
+ # Selector specifying which fields to include in a partial response.
8532
+ # @param [String] quota_user
8533
+ # Available to use for quota purposes for server-side applications. Can be any
8534
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8535
+ # @param [Google::Apis::RequestOptions] options
8536
+ # Request-specific options
8537
+ #
8538
+ # @yield [result, err] Result & error if block supplied
8539
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
8540
+ # @yieldparam err [StandardError] error object if request failed
8541
+ #
8542
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
8543
+ #
8544
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8545
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8546
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8547
+ 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)
8548
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:deletePatientFilter', options)
8549
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest::Representation
8550
+ command.request_object = google_cloud_discoveryengine_v1alpha_delete_patient_filters_request_object
8551
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
8552
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
8553
+ command.params['dataStore'] = data_store unless data_store.nil?
8554
+ command.query['fields'] = fields unless fields.nil?
8555
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8556
+ execute_or_queue_command(command, &block)
8557
+ end
8558
+
8287
8559
  # Gets a DataStore.
8288
8560
  # @param [String] name
8289
8561
  # Required. Full resource name of DataStore, such as `projects/`project`/
@@ -8473,6 +8745,97 @@ module Google
8473
8745
  execute_or_queue_command(command, &block)
8474
8746
  end
8475
8747
 
8748
+ # Removes a group of patient IDs from the patient filter for the data store.
8749
+ # Patient filters are empty by default when a data store is created, and are
8750
+ # stored in a separate table. The data store must first be created, and must be
8751
+ # a healthcare data store. This method will fail if the data store does not have
8752
+ # a patient filter. The filter group must be a FHIR resource name of type Group,
8753
+ # and the list of patient IDs to remove will be constructed from the direct
8754
+ # members of the group which are Patient resources.
8755
+ # @param [String] data_store
8756
+ # Required. Full resource name of DataStore, such as `projects/`project`/
8757
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
8758
+ # If the caller does not have permission to access the DataStore, regardless of
8759
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
8760
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
8761
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
8762
+ # returned
8763
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest] google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object
8764
+ # @param [String] fields
8765
+ # Selector specifying which fields to include in a partial response.
8766
+ # @param [String] quota_user
8767
+ # Available to use for quota purposes for server-side applications. Can be any
8768
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8769
+ # @param [Google::Apis::RequestOptions] options
8770
+ # Request-specific options
8771
+ #
8772
+ # @yield [result, err] Result & error if block supplied
8773
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
8774
+ # @yieldparam err [StandardError] error object if request failed
8775
+ #
8776
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
8777
+ #
8778
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8779
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8780
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8781
+ 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)
8782
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:removePatientFilter', options)
8783
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest::Representation
8784
+ command.request_object = google_cloud_discoveryengine_v1alpha_remove_patient_filter_request_object
8785
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
8786
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
8787
+ command.params['dataStore'] = data_store unless data_store.nil?
8788
+ command.query['fields'] = fields unless fields.nil?
8789
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8790
+ execute_or_queue_command(command, &block)
8791
+ end
8792
+
8793
+ # Replaces the patient filter for the data store. This method is essentially a
8794
+ # combination of DeletePatientFilters and AddPatientFilter. Patient filters are
8795
+ # empty by default when a data store is created, and are stored in a separate
8796
+ # table. The data store must first be created, and must be a healthcare data
8797
+ # store. This method will fail if the data store does not have a patient filter.
8798
+ # The filter group must be a FHIR resource name of type Group, and the new
8799
+ # filter will be constructed from the direct members of the group which are
8800
+ # Patient resources.
8801
+ # @param [String] data_store
8802
+ # Required. Full resource name of DataStore, such as `projects/`project`/
8803
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
8804
+ # If the caller does not have permission to access the DataStore, regardless of
8805
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
8806
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
8807
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
8808
+ # be returned.
8809
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest] google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object
8810
+ # @param [String] fields
8811
+ # Selector specifying which fields to include in a partial response.
8812
+ # @param [String] quota_user
8813
+ # Available to use for quota purposes for server-side applications. Can be any
8814
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8815
+ # @param [Google::Apis::RequestOptions] options
8816
+ # Request-specific options
8817
+ #
8818
+ # @yield [result, err] Result & error if block supplied
8819
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
8820
+ # @yieldparam err [StandardError] error object if request failed
8821
+ #
8822
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
8823
+ #
8824
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8825
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8826
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8827
+ 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)
8828
+ command = make_simple_command(:post, 'v1alpha/{+dataStore}:replacePatientFilter', options)
8829
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest::Representation
8830
+ command.request_object = google_cloud_discoveryengine_v1alpha_replace_patient_filter_request_object
8831
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
8832
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
8833
+ command.params['dataStore'] = data_store unless data_store.nil?
8834
+ command.query['fields'] = fields unless fields.nil?
8835
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8836
+ execute_or_queue_command(command, &block)
8837
+ end
8838
+
8476
8839
  # Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon
8477
8840
  # resource of DataStore. It's empty when DataStore is created. The first call to
8478
8841
  # this method will set up DocumentProcessingConfig.
@@ -8561,8 +8924,8 @@ module Google
8561
8924
  # can be used as a special branch_id, it returns the default branch that has
8562
8925
  # been set for the document.
8563
8926
  # @param [String] view
8564
- # The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC
8565
- # if unspecified.
8927
+ # The view to apply to the returned Branch. Defaults to BranchView.
8928
+ # BRANCH_VIEW_BASIC if unspecified.
8566
8929
  # @param [String] fields
8567
8930
  # Selector specifying which fields to include in a partial response.
8568
8931
  # @param [String] quota_user
@@ -8595,8 +8958,8 @@ module Google
8595
8958
  # @param [String] parent
8596
8959
  # Required. The parent data store resource name.
8597
8960
  # @param [String] view
8598
- # The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC
8599
- # if unspecified.
8961
+ # The view to apply to the returned Branch. Defaults to BranchView.
8962
+ # BRANCH_VIEW_BASIC if unspecified.
8600
8963
  # @param [String] fields
8601
8964
  # Selector specifying which fields to include in a partial response.
8602
8965
  # @param [String] quota_user
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.89.0
4
+ version: 0.91.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.89.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.91.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: