class Google::Apis::HealthcareV1::ConsentArtifact
Documentation of a user's consent.
Attributes
Optional. Screenshots, PDFs, or other binary information documenting the user' s consent. Corresponds to the JSON property `consentContentScreenshots` @return [Array<Google::Apis::HealthcareV1::Image>]
Optional. An string indicating the version of the consent information shown to the user. Corresponds to the JSON property `consentContentVersion` @return [String]
User signature. Corresponds to the JSON property `guardianSignature` @return [Google::Apis::HealthcareV1::Signature]
Optional. Metadata associated with the Consent
artifact. For example, the consent locale or user agent version. Corresponds to the JSON property `metadata` @return [Hash<String,String>]
Resource name of the Consent
artifact, of the form `projects/`project_id`/ locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/ consentArtifacts/`consent_artifact_id“. Cannot be changed after creation. Corresponds to the JSON property `name` @return [String]
Required. User's UUID provided by the client. Corresponds to the JSON property `userId` @return [String]
User signature. Corresponds to the JSON property `userSignature` @return [Google::Apis::HealthcareV1::Signature]
User signature. Corresponds to the JSON property `witnessSignature` @return [Google::Apis::HealthcareV1::Signature]
Public Class Methods
# File lib/google/apis/healthcare_v1/classes.rb, line 616 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/healthcare_v1/classes.rb, line 621 def update!(**args) @consent_content_screenshots = args[:consent_content_screenshots] if args.key?(:consent_content_screenshots) @consent_content_version = args[:consent_content_version] if args.key?(:consent_content_version) @guardian_signature = args[:guardian_signature] if args.key?(:guardian_signature) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @user_id = args[:user_id] if args.key?(:user_id) @user_signature = args[:user_signature] if args.key?(:user_signature) @witness_signature = args[:witness_signature] if args.key?(:witness_signature) end