0.6.2 (latest) 0.6.1 0.5.3 0.4.1 0.3.0 0.2.2 0.1.2 Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class ServiceDirectoryConfig.

ServiceDirectoryConfig represents Service Directory configuration for a
connection.

Generated from protobuf message `google.cloud.developerconnect.v1.ServiceDirectoryConfig`

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ service` | `string` Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. |

### getService

Required. The Service Directory service name.

Format:
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setService

Required. The Service Directory service name.

Format:
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |