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 CreateInsightsConfigRequest.

Request for creating an InsightsConfig.

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

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Value for parent. |
| `↳ insights_config_id` | `string` Required. ID of the requesting InsightsConfig. |
| `↳ insights_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.InsightsConfig` Required. The resource being created. |
| `↳ validate_only` | `bool` Optional. If set, validate the request, but do not actually post it. |

### getParent

Required. Value for parent.

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

### setParent

Required. Value for parent.

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

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

### getInsightsConfigId

Required. ID of the requesting InsightsConfig.

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

### setInsightsConfigId

Required. ID of the requesting InsightsConfig.

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

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

### getInsightsConfig

Required. The resource being created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.InsightsConfig|null` |   |

### hasInsightsConfig

### clearInsightsConfig

### setInsightsConfig

Required. The resource being created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.InsightsConfig` |

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

### getValidateOnly

Optional. If set, validate the request, but do not actually post it.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setValidateOnly

Optional. If set, validate the request, but do not actually post it.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Value for parent. Please see InsightsConfigServiceClient::locationName() for help formatting this field. |
| `insightsConfig` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.InsightsConfig` Required. The resource being created. |
| `insightsConfigId` | `string` Required. ID of the requesting InsightsConfig. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.CreateInsightsConfigRequest` |   |