Class: Google::Apis::ApphubV1::RegistrationType
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1::RegistrationType
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apphub_v1/classes.rb,
lib/google/apis/apphub_v1/representations.rb,
lib/google/apis/apphub_v1/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.
1327 1328 1329 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1327 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
1325 1326 1327 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1325 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1332 1333 1334 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1332 def update!(**args) @type = args[:type] if args.key?(:type) end |