class Google::Apis::HealthcareV1::CheckDataAccessResponse

Checks if a particular data_id of a User data mapping in the given consent store is consented for a given use.

Attributes

consented[RW]

Whether the requested resource is consented for the given use. Corresponds to the JSON property `consented` @return [Boolean]

consented?[RW]

Whether the requested resource is consented for the given use. Corresponds to the JSON property `consented` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 468
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/healthcare_v1/classes.rb, line 473
def update!(**args)
  @consent_details = args[:consent_details] if args.key?(:consent_details)
  @consented = args[:consented] if args.key?(:consented)
end