# Google Cloud Security Compliance V1 Client - Class TargetResourceDetails (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class TargetResourceDetails.

The details for a target resource.

Generated from protobuf message `google.cloud.cloudsecuritycompliance.v1.TargetResourceDetails`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ framework_deployment` | `string` The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` |
| `↳ target_resource_display_name` | `string` The display name of the target resource. For example, `google.com`, `staging-project`, or `development-folder`. |
| `↳ target_resource` | `string` The target resource. For example, `organizations/1234567890`, `projects/1234567890`, or `folders/1234567890`. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The create time of the target resource. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The update time of the target resource. |
| `↳ major_revision_id` | `int|string` The major revision ID of the framework for the target resource. |
| `↳ minor_revision_id` | `int|string` The minor revision ID of the framework for the target resource. |

### getFrameworkDeployment

The framework deployment name for the target resource.

For example,
`organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}`

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

### setFrameworkDeployment

The framework deployment name for the target resource.

For example,
`organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}`

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

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

### getTargetResourceDisplayName

The display name of the target resource. For example, `google.com`,
`staging-project`, or `development-folder`.

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

### setTargetResourceDisplayName

The display name of the target resource. For example, `google.com`,
`staging-project`, or `development-folder`.

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

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

### getTargetResource

The target resource. For example, `organizations/1234567890`,
`projects/1234567890`, or `folders/1234567890`.

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

### setTargetResource

The target resource. For example, `organizations/1234567890`,
`projects/1234567890`, or `folders/1234567890`.

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

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

### getCreateTime

The create time of the target resource.

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

### hasCreateTime

### clearCreateTime

### setCreateTime

The create time of the target resource.

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

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

### getUpdateTime

The update time of the target resource.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

The update time of the target resource.

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

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

### getMajorRevisionId

The major revision ID of the framework for the target resource.

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

### setMajorRevisionId

The major revision ID of the framework for the target resource.

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

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

### getMinorRevisionId

The minor revision ID of the framework for the target resource.

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

### setMinorRevisionId

The minor revision ID of the framework for the target resource.

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

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