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.



586
587
588
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 586

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



584
585
586
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 584

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



591
592
593
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 591

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