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



2474
2475
2476
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2474

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

Instance Attribute Details

#labelString

Corresponds to the JSON property label

Returns:

  • (String)


2472
2473
2474
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2472

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2479
2480
2481
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2479

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