Class: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig
- 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
-
#service ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceDirectoryConfig
constructor
A new instance of ServiceDirectoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceDirectoryConfig
Returns a new instance of ServiceDirectoryConfig.
1205 1206 1207 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1205 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ String
Required. The Service Directory service name. Format: projects/project
/
locations/location
/namespaces/namespace
/services/service
.
Corresponds to the JSON property service
1203 1204 1205 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1203 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1210 1211 1212 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1210 def update!(**args) @service = args[:service] if args.key?(:service) end |