Class: Google::Apis::ApphubV1alpha::FunctionalType
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1alpha::FunctionalType
- 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
The functional type of a service or workload.
Instance Attribute Summary collapse
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FunctionalType
constructor
A new instance of FunctionalType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FunctionalType
Returns a new instance of FunctionalType.
674 675 676 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 674 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Output only. The functional type of a service or workload.
Corresponds to the JSON property type
672 673 674 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 672 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
679 680 681 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 679 def update!(**args) @type = args[:type] if args.key?(:type) end |