# Cloud Build V2 API - Class Google::Cloud::Build::V2::ServiceDirectoryConfig (v0.14.0)

0.14.0 (latest) 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::ServiceDirectoryConfig.

ServiceDirectoryConfig represents Service Directory configuration for a
connection.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #service

    def service() -> ::String

**Returns**

- (::String) --- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

### #service=

    def service=(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}.