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

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



668
669
670
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 668

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



666
667
668
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 666

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



673
674
675
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 673

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