Class ConsentConfig
Configures whether to enforce consent for the FHIR store and which consent enforcement version is being used.
Implements
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1beta1.Data
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class ConsentConfig : IDirectResponseSchema
Properties
AccessDeterminationLogConfig
Optional. Specifies how the server logs the consent-aware requests. If not specified, the
AccessDeterminationLogConfig.LogLevel.MINIMUM
option is used.
Declaration
[JsonProperty("accessDeterminationLogConfig")]
public virtual AccessDeterminationLogConfig AccessDeterminationLogConfig { get; set; }
Property Value
Type | Description |
---|---|
AccessDeterminationLogConfig |
AccessEnforced
Optional. The default value is false. If set to true, when accessing FHIR resources, the consent headers will be verified against consents given by patients. See the ConsentEnforcementVersion for the supported consent headers.
Declaration
[JsonProperty("accessEnforced")]
public virtual bool? AccessEnforced { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ConsentHeaderHandling
Optional. Different options to configure the behaviour of the server when handling the X-Consent-Scope
header.
Declaration
[JsonProperty("consentHeaderHandling")]
public virtual ConsentHeaderHandling ConsentHeaderHandling { get; set; }
Property Value
Type | Description |
---|---|
ConsentHeaderHandling |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnforcedAdminConsents
The versioned names of the enforced admin Consent resource(s), in the format
projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}
.
For FHIR stores with disable_resource_versioning=true
, the format is
projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}
.
This field can only be updated using ApplyAdminConsents.
Declaration
[JsonProperty("enforcedAdminConsents")]
public virtual IList<string> EnforcedAdminConsents { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Version
Required. Specifies which consent enforcement version is being used for this FHIR store. This field can only be set once by either CreateFhirStore or UpdateFhirStore. After that, you must call ApplyConsents to change the version.
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Type | Description |
---|---|
string |