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



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

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

Instance Attribute Details

#labelString

Corresponds to the JSON property label

Returns:

  • (String)


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

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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