Class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ApplyConsentsRequest
Apply the Consent resources for the FHIR store and reindex the underlying resources in the FHIR
store according to the aggregate consent. The aggregate consent of the patient in scope in this
request replaces any previous call of this method. Any Consent resource change after this
operation execution (including deletion) requires you to call ApplyConsents again to have
effect. This method returns an Operation that can be used to track the progress of the consent
resources that were processed by calling GetOperation. Upon completion, the
ApplyConsentsResponse additionally contains the number of resources that was reindexed. Errors
are logged to Cloud Logging (see Viewing error logs in Cloud
Logging). To enforce consent check
for data access, consent_config.access_enforced
must be set to true for the FhirStore.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1beta1
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ApplyConsentsRequest : CloudHealthcareBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ApplyConsentsRequest(IClientService, ApplyConsentsRequest, string)
Constructs a new ApplyConsents request.
Declaration
public ApplyConsentsRequest(IClientService service, ApplyConsentsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ApplyConsentsRequest | body | |
string | name |
Properties
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
Name
Required. The name of the FHIR store to enforce, in the format
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
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 ApplyConsents parameter list.
Declaration
protected override void InitParameters()