Class: Google::Apis::ApphubV1::RegistrationType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#typeString

Output only. The registration type of a service. Corresponds to the JSON property type

Returns:

  • (String)


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