Class: Google::Apis::ApphubV1::LookupDiscoveredServiceResponse

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

Response for LookupDiscoveredService.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LookupDiscoveredServiceResponse

Returns a new instance of LookupDiscoveredServiceResponse.



1138
1139
1140
# File 'lib/google/apis/apphub_v1/classes.rb', line 1138

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

Instance Attribute Details

#discovered_serviceGoogle::Apis::ApphubV1::DiscoveredService

DiscoveredService is a network or API interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service. Corresponds to the JSON property discoveredService



1136
1137
1138
# File 'lib/google/apis/apphub_v1/classes.rb', line 1136

def discovered_service
  @discovered_service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1143
1144
1145
# File 'lib/google/apis/apphub_v1/classes.rb', line 1143

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