Class: Google::Apis::HealthcareV1::AdminConsents

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

Overview

List of admin Consent resources to be applied.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdminConsents

Returns a new instance of AdminConsents.

[View source]

101
102
103
# File 'lib/google/apis/healthcare_v1/classes.rb', line 101

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

Instance Attribute Details

#namesArray<String>

Optional. The versioned names of the 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. Corresponds to the JSON property names

Returns:

  • (Array<String>)

99
100
101
# File 'lib/google/apis/healthcare_v1/classes.rb', line 99

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

106
107
108
# File 'lib/google/apis/healthcare_v1/classes.rb', line 106

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