Class: Google::Apis::HealthcareV1beta1::Result

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb

Overview

The consent evaluation result for a single data_id.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Result

Returns a new instance of Result.



4467
4468
4469
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4467

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

The resource names of all evaluated Consents mapped to their evaluation. Corresponds to the JSON property consentDetails



4454
4455
4456
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4454

def consent_details
  @consent_details
end

#consentedBoolean Also known as: consented?

Whether the requested data is consented for the given use. Corresponds to the JSON property consented

Returns:

  • (Boolean)


4459
4460
4461
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4459

def consented
  @consented
end

#data_idString

The unique identifier of the data the consents were checked for. Corresponds to the JSON property dataId

Returns:

  • (String)


4465
4466
4467
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4465

def data_id
  @data_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4472
4473
4474
4475
4476
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4472

def update!(**args)
  @consent_details = args[:consent_details] if args.key?(:consent_details)
  @consented = args[:consented] if args.key?(:consented)
  @data_id = args[:data_id] if args.key?(:data_id)
end