Class: Google::Apis::ApphubV1alpha::ExtendedMetadata

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

Overview

Additional metadata for a Service or Workload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExtendedMetadata

Returns a new instance of ExtendedMetadata.



657
658
659
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 657

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

Instance Attribute Details

#metadata_structHash<String,Object>

Output only. The metadata contents. Corresponds to the JSON property metadataStruct

Returns:

  • (Hash<String,Object>)


655
656
657
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 655

def 
  @metadata_struct
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



662
663
664
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 662

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