Class: Google::Apis::HealthcareV1beta1::ConsentArtifact
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::ConsentArtifact
- 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
Documentation of a user's consent.
Instance Attribute Summary collapse
-
#consent_content_screenshots ⇒ Array<Google::Apis::HealthcareV1beta1::Image>
Optional.
-
#consent_content_version ⇒ String
Optional.
-
#guardian_signature ⇒ Google::Apis::HealthcareV1beta1::Signature
User signature.
-
#metadata ⇒ Hash<String,String>
Optional.
-
#name ⇒ 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``. -
#user_id ⇒ String
Required.
-
#user_signature ⇒ Google::Apis::HealthcareV1beta1::Signature
User signature.
-
#witness_signature ⇒ Google::Apis::HealthcareV1beta1::Signature
User signature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConsentArtifact
constructor
A new instance of ConsentArtifact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConsentArtifact
Returns a new instance of ConsentArtifact.
994 995 996 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 994 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consent_content_screenshots ⇒ Array<Google::Apis::HealthcareV1beta1::Image>
Optional. Screenshots, PDFs, or other binary information documenting the user'
s consent.
Corresponds to the JSON property consentContentScreenshots
953 954 955 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 953 def @consent_content_screenshots end |
#consent_content_version ⇒ String
Optional. An string indicating the version of the consent information shown to
the user.
Corresponds to the JSON property consentContentVersion
959 960 961 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 959 def @consent_content_version end |
#guardian_signature ⇒ Google::Apis::HealthcareV1beta1::Signature
User signature.
Corresponds to the JSON property guardianSignature
964 965 966 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 964 def guardian_signature @guardian_signature end |
#metadata ⇒ Hash<String,String>
Optional. Metadata associated with the Consent artifact. For example, the
consent locale or user agent version.
Corresponds to the JSON property metadata
970 971 972 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 970 def @metadata end |
#name ⇒ 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 propertyname`
977 978 979 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 977 def name @name end |
#user_id ⇒ String
Required. User's UUID provided by the client.
Corresponds to the JSON property userId
982 983 984 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 982 def user_id @user_id end |
#user_signature ⇒ Google::Apis::HealthcareV1beta1::Signature
User signature.
Corresponds to the JSON property userSignature
987 988 989 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 987 def user_signature @user_signature end |
#witness_signature ⇒ Google::Apis::HealthcareV1beta1::Signature
User signature.
Corresponds to the JSON property witnessSignature
992 993 994 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 992 def witness_signature @witness_signature end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
999 1000 1001 1002 1003 1004 1005 1006 1007 1008 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 999 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 |