Class: Google::Apis::HealthcareV1beta1::AdminConsents

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 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.



176
177
178
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 176

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

Instance Attribute Details

#namesArray<String>

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>)


174
175
176
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 174

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



181
182
183
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 181

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