class Google::Apis::HealthcareV1::ConsentStore

Represents a consent store.

Attributes

labels[RW]

Optional. User-supplied key-value pairs used to organize consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \ p`Ll`p`Lo“0,62`. Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p`Ll`p`Lo`p`N`_-]`0,63`. No more than 64 labels can be associated with a given store. For more information: cloud.google.com/ healthcare/docs/how-tos/labeling-resources Corresponds to the JSON property `labels` @return [Hash<String,String>]

name[RW]

Resource name of the consent store, of the form `projects/`project_id`/ locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id“ . Cannot be changed after creation. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 710
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 715
def update!(**args)
  @default_consent_ttl = args[:default_consent_ttl] if args.key?(:default_consent_ttl)
  @enable_consent_create_on_update = args[:enable_consent_create_on_update] if args.key?(:enable_consent_create_on_update)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
end