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.



617
618
619
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 617

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



615
616
617
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 615

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



622
623
624
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 622

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