Class: Google::Apis::HealthcareV1alpha2::ResourceAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::ResourceAnnotation
- 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
Resource level annotation.
Instance Attribute Summary collapse
-
#label ⇒ String
Corresponds to the JSON property
label.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceAnnotation
constructor
A new instance of ResourceAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourceAnnotation
Returns a new instance of ResourceAnnotation
2424 2425 2426 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label ⇒ String
Corresponds to the JSON property label
2422 2423 2424 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2422 def label @label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2429 2430 2431 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2429 def update!(**args) @label = args[:label] if args.key?(:label) end |