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



2424
2425
2426
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2424

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

Instance Attribute Details

#labelString

Corresponds to the JSON property label

Returns:

  • (String)


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