Class: Google::Apis::HealthcareV1beta1::ConsentList

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

Overview

List of resource names of Consent resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConsentList

Returns a new instance of ConsentList.



1517
1518
1519
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1517

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

Instance Attribute Details

#consentsArray<String>

The resource names of the Consents to evaluate against, of the form projects/ project_id/locations/location_id/datasets/dataset_id/consentStores/ consent_store_id/consents/consent_id`. Corresponds to the JSON propertyconsents`

Returns:

  • (Array<String>)


1515
1516
1517
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1515

def consents
  @consents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1522
1523
1524
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1522

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