Class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ApplyAdminConsentsRequest
Applies the admin Consent resources for the FHIR store and reindexes the underlying resources in
the FHIR store according to the aggregate consents. This method also updates the
consent_config.enforced_admin_consents
field of the FhirStore unless validate_only=true
in
ApplyAdminConsentsRequest. Any admin Consent resource change after this operation execution
(including deletion) requires you to call ApplyAdminConsents again for the change to take
effect. This method returns an Operation that can be used to track the progress of the resources
that were reindexed, by calling GetOperation. Upon completion, the ApplyAdminConsentsResponse
additionally contains the number of resources that were reindexed. If at least one Consent
resource contains an error or fails be be enforced for any reason, the method returns an error
instead of an Operation. No resources will be reindexed and the
consent_config.enforced_admin_consents
field will be unchanged. To enforce a 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.ApplyAdminConsentsRequest : CloudHealthcareBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ApplyAdminConsentsRequest(IClientService, ApplyAdminConsentsRequest, string)
Constructs a new ApplyAdminConsents request.
Declaration
public ApplyAdminConsentsRequest(IClientService service, ApplyAdminConsentsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ApplyAdminConsentsRequest | 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 ApplyAdminConsents parameter list.
Declaration
protected override void InitParameters()