Class: Google::Apis::CloudiotV1beta1::HttpPublishEventRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudiotV1beta1::HttpPublishEventRequest
- Defined in:
- generated/google/apis/cloudiot_v1beta1/classes.rb,
generated/google/apis/cloudiot_v1beta1/representations.rb,
generated/google/apis/cloudiot_v1beta1/representations.rb
Overview
Request for PublishEvent
.
Instance Attribute Summary collapse
-
#binary_data ⇒ String
Payload data in binary format.
-
#sub_folder ⇒ String
Optional subfolder for the telemetry event.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpPublishEventRequest
constructor
A new instance of HttpPublishEventRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ HttpPublishEventRequest
Returns a new instance of HttpPublishEventRequest
606 607 608 |
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 606 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binary_data ⇒ String
Payload data in binary format.
Corresponds to the JSON property binaryData
NOTE: Values are automatically base64 encoded/decoded in the client library.
598 599 600 |
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 598 def binary_data @binary_data end |
#sub_folder ⇒ String
Optional subfolder for the telemetry event. This can be used to classify
types of events, and is included in the Pub/Sub message attributes.
Corresponds to the JSON property subFolder
604 605 606 |
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 604 def sub_folder @sub_folder end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
611 612 613 614 |
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 611 def update!(**args) @binary_data = args[:binary_data] if args.key?(:binary_data) @sub_folder = args[:sub_folder] if args.key?(:sub_folder) end |