# Google Cloud BeyondCorp Client Connector Services V1 Client - Class ClientConnectorService (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.4.5 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BeyondCorp Client Connector Services V1 Client class ClientConnectorService.

Message describing ClientConnectorService object.

Generated from protobuf message `google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService`

## Namespace

Google \\ Cloud \\ BeyondCorp \\ ClientConnectorServices \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Name of resource. The name is ignored during creation. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. \[Output only\] Create time stamp. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. \[Output only\] Update time stamp. |
| `↳ display_name` | `string` Optional. User-provided name. The display name should follow certain format. \* \* Must be 6 to 30 characters in length. \* \* Can only contain lowercase letters, numbers, and hyphens. \* \* Must start with a letter. |
| `↳ ingress` | `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-clientconnectorservices/latest/V1.ClientConnectorService.Ingress` Required. The details of the ingress settings. |
| `↳ egress` | `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-clientconnectorservices/latest/V1.ClientConnectorService.Egress` Required. The details of the egress settings. |
| `↳ state` | `int` Output only. The operational state of the ClientConnectorService. |

### getName

Required. Name of resource. The name is ignored during creation.

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

### setName

Required. Name of resource. The name is ignored during creation.

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

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

### getCreateTime

Output only. \[Output only\] Create time stamp.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. \[Output only\] Create time stamp.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getUpdateTime

Output only. \[Output only\] Update time stamp.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. \[Output only\] Update time stamp.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getDisplayName

Optional. User-provided name.

The display name should follow certain format.

- Must be 6 to 30 characters in length.
- Can only contain lowercase letters, numbers, and hyphens.
- Must start with a letter.

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

### setDisplayName

Optional. User-provided name.

The display name should follow certain format.

- Must be 6 to 30 characters in length.
- Can only contain lowercase letters, numbers, and hyphens.
- Must start with a letter.

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

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

### getIngress

Required. The details of the ingress settings.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-clientconnectorservices/latest/V1.ClientConnectorService.Ingress|null` |   |

### hasIngress

### clearIngress

### setIngress

Required. The details of the ingress settings.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-clientconnectorservices/latest/V1.ClientConnectorService.Ingress` |

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

### getEgress

Required. The details of the egress settings.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-clientconnectorservices/latest/V1.ClientConnectorService.Egress|null` |   |

### hasEgress

### clearEgress

### setEgress

Required. The details of the egress settings.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-clientconnectorservices/latest/V1.ClientConnectorService.Egress` |

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

### getState

Output only. The operational state of the ClientConnectorService.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-clientconnectorservices/latest/V1.ClientConnectorService.State). |

### setState

Output only. The operational state of the ClientConnectorService.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-clientconnectorservices/latest/V1.ClientConnectorService.State). |

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