Class: Google::Apis::HealthcareV1beta1::ResourceAnnotation

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

Overview

Resource level annotation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourceAnnotation

Returns a new instance of ResourceAnnotation.



4418
4419
4420
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4418

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

Instance Attribute Details

#labelString

A description of the annotation record. Corresponds to the JSON property label

Returns:

  • (String)


4416
4417
4418
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4416

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4423
4424
4425
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4423

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