Class: Google::Apis::HealthcareV1beta1::ResourceAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::ResourceAnnotation
- 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
Resource level annotation.
Instance Attribute Summary collapse
-
#label ⇒ String
A description of the annotation record.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceAnnotation
constructor
A new instance of ResourceAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceAnnotation
Returns a new instance of ResourceAnnotation.
6241 6242 6243 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label ⇒ String
A description of the annotation record.
Corresponds to the JSON property label
6239 6240 6241 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6239 def label @label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6246 6247 6248 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6246 def update!(**args) @label = args[:label] if args.key?(:label) end |