Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig.
ServiceDirectoryConfig represents Service Directory configuration for a
connection.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#service
defservice()->::String
Returns
(::String) — Required. The Service Directory service name.
Format:
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
#service=
defservice=(value)->::String
Parameter
value (::String) — Required. The Service Directory service name.
Format:
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
Returns
(::String) — Required. The Service Directory service name.
Format:
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig (v1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-ServiceDirectoryConfig)\n- [1.1.0](/ruby/docs/reference/google-cloud-developer_connect-v1/1.1.0/Google-Cloud-DeveloperConnect-V1-ServiceDirectoryConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-developer_connect-v1/1.0.1/Google-Cloud-DeveloperConnect-V1-ServiceDirectoryConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-developer_connect-v1/0.5.0/Google-Cloud-DeveloperConnect-V1-ServiceDirectoryConfig)\n- [0.4.0](/ruby/docs/reference/google-cloud-developer_connect-v1/0.4.0/Google-Cloud-DeveloperConnect-V1-ServiceDirectoryConfig)\n- [0.3.0](/ruby/docs/reference/google-cloud-developer_connect-v1/0.3.0/Google-Cloud-DeveloperConnect-V1-ServiceDirectoryConfig)\n- [0.2.0](/ruby/docs/reference/google-cloud-developer_connect-v1/0.2.0/Google-Cloud-DeveloperConnect-V1-ServiceDirectoryConfig)\n- [0.1.1](/ruby/docs/reference/google-cloud-developer_connect-v1/0.1.1/Google-Cloud-DeveloperConnect-V1-ServiceDirectoryConfig) \nReference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig.\n\nServiceDirectoryConfig represents Service Directory configuration for a\nconnection. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #service\n\n def service() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.\n\n### #service=\n\n def service=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. \n**Returns**\n\n- (::String) --- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}."]]