Class ProjectsResource.LocationsResource.DataStoresResource.ReplacePatientFilterRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.ReplacePatientFilterRequest : DiscoveryEngineBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ReplacePatientFilterRequest(IClientService, GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest, string)
Constructs a new ReplacePatientFilter request.
Declaration
public ReplacePatientFilterRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest body, string dataStore)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest | body | |
| string | dataStore |
Properties
DataStore
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.
Declaration
[RequestParameter("dataStore", RequestParameterType.Path)]
public virtual string DataStore { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes ReplacePatientFilter parameter list.
Declaration
protected override void InitParameters()