Class: Google::Apis::ServicedirectoryV1beta1::ResolveServiceResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicedirectory_v1beta1/classes.rb,
generated/google/apis/servicedirectory_v1beta1/representations.rb,
generated/google/apis/servicedirectory_v1beta1/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.



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

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

Instance Attribute Details

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



572
573
574
# File 'generated/google/apis/servicedirectory_v1beta1/classes.rb', line 572

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



579
580
581
# File 'generated/google/apis/servicedirectory_v1beta1/classes.rb', line 579

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