Class: Google::Apis::HealthcareV1alpha2::ResourceAnnotation

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

Resource level 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) ⇒ ResourceAnnotation

Returns a new instance of ResourceAnnotation



2464
2465
2466
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2464

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

Instance Attribute Details

#labelString

Corresponds to the JSON property label

Returns:

  • (String)


2462
2463
2464
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2462

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2469
2470
2471
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2469

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