# Dataplex V1 API - Class Google::Cloud::Dataplex::V1::DiscoveryEvent (v2.10.0)

2.10.0 (latest) 2.9.0 2.8.1 2.7.0 2.6.1 2.5.0 2.4.1 2.3.1 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.23.0 0.22.0 0.21.1 0.20.0 0.19.0 0.18.2 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DiscoveryEvent.

The payload associated with Discovery data processing.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #action

    def action() -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::ActionDetails

**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::ActionDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-ActionDetails)) --- Details about the action associated with the event.


  Note: The following fields are mutually exclusive: `action`, `config`, `entity`, `partition`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #action=

    def action=(value) -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::ActionDetails

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::ActionDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-ActionDetails)) --- Details about the action associated with the event.


  Note: The following fields are mutually exclusive: `action`, `config`, `entity`, `partition`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::ActionDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-ActionDetails)) --- Details about the action associated with the event.


  Note: The following fields are mutually exclusive: `action`, `config`, `entity`, `partition`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #asset_id

    def asset_id() -> ::String

**Returns**

- (::String) --- The id of the associated asset.

### #asset_id=

    def asset_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The id of the associated asset.
**Returns**

- (::String) --- The id of the associated asset.

### #config

    def config() -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::ConfigDetails

**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::ConfigDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-ConfigDetails)) --- Details about discovery configuration in effect.


  Note: The following fields are mutually exclusive: `config`, `entity`, `partition`, `action`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #config=

    def config=(value) -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::ConfigDetails

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::ConfigDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-ConfigDetails)) --- Details about discovery configuration in effect.


  Note: The following fields are mutually exclusive: `config`, `entity`, `partition`, `action`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::ConfigDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-ConfigDetails)) --- Details about discovery configuration in effect.


  Note: The following fields are mutually exclusive: `config`, `entity`, `partition`, `action`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_location

    def data_location() -> ::String

**Returns**

- (::String) --- The data location associated with the event.

### #data_location=

    def data_location=(value) -> ::String

**Parameter**

- **value** (::String) --- The data location associated with the event.
**Returns**

- (::String) --- The data location associated with the event.

### #datascan_id

    def datascan_id() -> ::String

**Returns**

- (::String) --- The id of the associated datascan for standalone discovery.

### #datascan_id=

    def datascan_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The id of the associated datascan for standalone discovery.
**Returns**

- (::String) --- The id of the associated datascan for standalone discovery.

### #entity

    def entity() -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::EntityDetails

**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::EntityDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-EntityDetails)) --- Details about the entity associated with the event.


  Note: The following fields are mutually exclusive: `entity`, `config`, `partition`, `action`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #entity=

    def entity=(value) -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::EntityDetails

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::EntityDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-EntityDetails)) --- Details about the entity associated with the event.


  Note: The following fields are mutually exclusive: `entity`, `config`, `partition`, `action`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::EntityDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-EntityDetails)) --- Details about the entity associated with the event.


  Note: The following fields are mutually exclusive: `entity`, `config`, `partition`, `action`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #lake_id

    def lake_id() -> ::String

**Returns**

- (::String) --- The id of the associated lake.

### #lake_id=

    def lake_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The id of the associated lake.
**Returns**

- (::String) --- The id of the associated lake.

### #message

    def message() -> ::String

**Returns**

- (::String) --- The log message.

### #message=

    def message=(value) -> ::String

**Parameter**

- **value** (::String) --- The log message.
**Returns**

- (::String) --- The log message.

### #partition

    def partition() -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::PartitionDetails

**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::PartitionDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-PartitionDetails)) --- Details about the partition associated with the event.


  Note: The following fields are mutually exclusive: `partition`, `config`, `entity`, `action`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #partition=

    def partition=(value) -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::PartitionDetails

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::PartitionDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-PartitionDetails)) --- Details about the partition associated with the event.


  Note: The following fields are mutually exclusive: `partition`, `config`, `entity`, `action`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::PartitionDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-PartitionDetails)) --- Details about the partition associated with the event.


  Note: The following fields are mutually exclusive: `partition`, `config`, `entity`, `action`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #table

    def table() -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::TableDetails

**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::TableDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-TableDetails)) --- Details about the BigQuery table publishing associated with the event.


  Note: The following fields are mutually exclusive: `table`, `config`, `entity`, `partition`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #table=

    def table=(value) -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::TableDetails

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::TableDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-TableDetails)) --- Details about the BigQuery table publishing associated with the event.


  Note: The following fields are mutually exclusive: `table`, `config`, `entity`, `partition`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::TableDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-TableDetails)) --- Details about the BigQuery table publishing associated with the event.


  Note: The following fields are mutually exclusive: `table`, `config`, `entity`, `partition`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #type

    def type() -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::EventType

**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::EventType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-EventType)) --- The type of the event being logged.

### #type=

    def type=(value) -> ::Google::Cloud::Dataplex::V1::DiscoveryEvent::EventType

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::EventType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-EventType)) --- The type of the event being logged.
**Returns**

- ([::Google::Cloud::Dataplex::V1::DiscoveryEvent::EventType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DiscoveryEvent-EventType)) --- The type of the event being logged.

### #zone_id

    def zone_id() -> ::String

**Returns**

- (::String) --- The id of the associated zone.

### #zone_id=

    def zone_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The id of the associated zone.
**Returns**

- (::String) --- The id of the associated zone.