Class: Google::Apis::HealthcareV1alpha2::AnnotationSource

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

Overview

AnnotationSource holds the source information of the annotation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AnnotationSource

Returns a new instance of AnnotationSource



79
80
81
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 79

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

Instance Attribute Details

#cloud_healthcare_sourceGoogle::Apis::HealthcareV1alpha2::CloudHealthcareSource

Cloud Healthcare API resource. Corresponds to the JSON property cloudHealthcareSource



77
78
79
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 77

def cloud_healthcare_source
  @cloud_healthcare_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



84
85
86
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 84

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