Class: Google::Apis::ConnectorsV1::ListenEventRequest
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::ListenEventRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Expected request for ListenEvent API.
Instance Attribute Summary collapse
-
#payload ⇒ Hash<String,Object>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListenEventRequest
constructor
A new instance of ListenEventRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListenEventRequest
Returns a new instance of ListenEventRequest.
3868 3869 3870 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3868 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ Hash<String,Object>
Optional. Request payload.
Corresponds to the JSON property payload
3866 3867 3868 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3866 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3873 3874 3875 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3873 def update!(**args) @payload = args[:payload] if args.key?(:payload) end |