Class: Google::Apis::ServicedirectoryV1::ResolveServiceResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicedirectoryV1::ResolveServiceResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicedirectory_v1/classes.rb,
lib/google/apis/servicedirectory_v1/representations.rb,
lib/google/apis/servicedirectory_v1/representations.rb
Overview
The response message for LookupService.ResolveService.
Instance Attribute Summary collapse
-
#service ⇒ Google::Apis::ServicedirectoryV1::Service
An individual service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResolveServiceResponse
constructor
A new instance of ResolveServiceResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResolveServiceResponse
Returns a new instance of ResolveServiceResponse.
646 647 648 |
# File 'lib/google/apis/servicedirectory_v1/classes.rb', line 646 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ Google::Apis::ServicedirectoryV1::Service
An individual service. A service contains a name and optional metadata. A
service must exist before endpoints can be added to it.
Corresponds to the JSON property service
644 645 646 |
# File 'lib/google/apis/servicedirectory_v1/classes.rb', line 644 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
651 652 653 |
# File 'lib/google/apis/servicedirectory_v1/classes.rb', line 651 def update!(**args) @service = args[:service] if args.key?(:service) end |