Class: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig

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

Overview

ServiceDirectoryConfig represents Service Directory configuration for a connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceDirectoryConfig

Returns a new instance of ServiceDirectoryConfig.



1055
1056
1057
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1055

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

Instance Attribute Details

#serviceString

Required. The Service Directory service name. Format: projects/project/ locations/location/namespaces/namespace/services/service. Corresponds to the JSON property service

Returns:

  • (String)


1053
1054
1055
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1053

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1060
1061
1062
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1060

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