# Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DataProfileConfigSnapshot (v1.17.0)

1.17.0 (latest) 1.16.1 1.15.2 1.14.0 1.13.0 1.12.1 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.2 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DataProfileConfigSnapshot.

Snapshot of the configurations used to generate the profile.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #data_profile_job

    def data_profile_job() -> ::Google::Cloud::Dlp::V2::DataProfileJobConfig

**Returns**

- ([::Google::Cloud::Dlp::V2::DataProfileJobConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-DataProfileJobConfig)) --- A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.

### #data_profile_job=

    def data_profile_job=(value) -> ::Google::Cloud::Dlp::V2::DataProfileJobConfig

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::DataProfileJobConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-DataProfileJobConfig)) --- A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.
**Returns**

- ([::Google::Cloud::Dlp::V2::DataProfileJobConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-DataProfileJobConfig)) --- A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.

### #discovery_config

    def discovery_config() -> ::Google::Cloud::Dlp::V2::DiscoveryConfig

**Returns**

- ([::Google::Cloud::Dlp::V2::DiscoveryConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-DiscoveryConfig)) --- A copy of the configuration used to generate this profile.

### #discovery_config=

    def discovery_config=(value) -> ::Google::Cloud::Dlp::V2::DiscoveryConfig

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::DiscoveryConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-DiscoveryConfig)) --- A copy of the configuration used to generate this profile.
**Returns**

- ([::Google::Cloud::Dlp::V2::DiscoveryConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-DiscoveryConfig)) --- A copy of the configuration used to generate this profile.

### #inspect_config

    def inspect_config() -> ::Google::Cloud::Dlp::V2::InspectConfig

**Returns**

- ([::Google::Cloud::Dlp::V2::InspectConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-InspectConfig)) --- A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.

### #inspect_config=

    def inspect_config=(value) -> ::Google::Cloud::Dlp::V2::InspectConfig

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::InspectConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-InspectConfig)) --- A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.
**Returns**

- ([::Google::Cloud::Dlp::V2::InspectConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-InspectConfig)) --- A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.

### #inspect_template_modified_time

    def inspect_template_modified_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Protobuf-Timestamp)) --- Timestamp when the template was modified

### #inspect_template_modified_time=

    def inspect_template_modified_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Protobuf-Timestamp)) --- Timestamp when the template was modified
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Protobuf-Timestamp)) --- Timestamp when the template was modified

### #inspect_template_name

    def inspect_template_name() -> ::String

**Returns**

- (::String) --- Name of the inspection template used to generate this profile

### #inspect_template_name=

    def inspect_template_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the inspection template used to generate this profile
**Returns**

- (::String) --- Name of the inspection template used to generate this profile