# Google Cloud Security Command Center V2 Client - Class CreateResourceValueConfigRequest (2.5.1)

2.5.1 (latest) 2.5.0 2.4.2 2.3.0 2.2.1 2.1.1 2.0.4 1.32.0 1.31.0 1.30.0 1.29.0 1.28.2 1.21.0 1.20.2 1.19.1 1.18.0 1.17.0 1.16.0 1.15.1 1.14.2 1.13.1 Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class CreateResourceValueConfigRequest.

Request message to create single resource value config

Generated from protobuf message `google.cloud.securitycenter.v2.CreateResourceValueConfigRequest`

## Namespace

Google \\ Cloud \\ SecurityCenter \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Resource name of the new ResourceValueConfig's parent. |
| `↳ resource_value_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.ResourceValueConfig` Required. The resource value config being created. |

### getParent

Required. Resource name of the new ResourceValueConfig's parent.

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

### setParent

Required. Resource name of the new ResourceValueConfig's parent.

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

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

### getResourceValueConfig

Required. The resource value config being created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.ResourceValueConfig|null` |   |

### hasResourceValueConfig

### clearResourceValueConfig

### setResourceValueConfig

Required. The resource value config being created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.ResourceValueConfig` |

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