Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1BusinessGlossaryEvent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

Payload associated with Business Glossary related log events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1BusinessGlossaryEvent

Returns a new instance of GoogleCloudDataplexV1BusinessGlossaryEvent.



1216
1217
1218
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1216

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#event_typeString

The type of the event. Corresponds to the JSON property eventType

Returns:

  • (String)


1204
1205
1206
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1204

def event_type
  @event_type
end

#messageString

The log message. Corresponds to the JSON property message

Returns:

  • (String)


1209
1210
1211
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1209

def message
  @message
end

#resourceString

Name of the resource. Corresponds to the JSON property resource

Returns:

  • (String)


1214
1215
1216
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1214

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1221
1222
1223
1224
1225
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1221

def update!(**args)
  @event_type = args[:event_type] if args.key?(:event_type)
  @message = args[:message] if args.key?(:message)
  @resource = args[:resource] if args.key?(:resource)
end