Class: Google::Apis::ServicedirectoryV1::ResolveServiceResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicedirectory_v1/classes.rb,
generated/google/apis/servicedirectory_v1/representations.rb,
generated/google/apis/servicedirectory_v1/representations.rb

Overview

The response message for LookupService.ResolveService.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResolveServiceResponse

Returns a new instance of ResolveServiceResponse.



576
577
578
# File 'generated/google/apis/servicedirectory_v1/classes.rb', line 576

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

Instance Attribute Details

#serviceGoogle::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



574
575
576
# File 'generated/google/apis/servicedirectory_v1/classes.rb', line 574

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



581
582
583
# File 'generated/google/apis/servicedirectory_v1/classes.rb', line 581

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