Class: Google::Apis::ApphubV1alpha::RegistrationType
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1alpha::RegistrationType
- 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 registration type of a service.
Instance Attribute Summary collapse
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegistrationType
constructor
A new instance of RegistrationType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegistrationType
Returns a new instance of RegistrationType.
1412 1413 1414 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1412 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Output only. The registration type of a service.
Corresponds to the JSON property type
1410 1411 1412 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1410 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1417 1418 1419 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1417 def update!(**args) @type = args[:type] if args.key?(:type) end |