Class: Google::Apis::AnalyticshubV1::NoWrapper
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::NoWrapper
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticshub_v1/classes.rb,
lib/google/apis/analyticshub_v1/representations.rb,
lib/google/apis/analyticshub_v1/representations.rb
Overview
Sets the data
field as the HTTP body for delivery.
Instance Attribute Summary collapse
-
#write_metadata ⇒ Boolean
(also: #write_metadata?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NoWrapper
constructor
A new instance of NoWrapper.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NoWrapper
Returns a new instance of NoWrapper.
1395 1396 1397 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1395 def initialize(**args) update!(**args) end |
Instance Attribute Details
#write_metadata ⇒ Boolean Also known as: write_metadata?
Optional. When true, writes the Pub/Sub message metadata to x-goog-pubsub-:
headers of the HTTP request. Writes the Pub/Sub message attributes to :
headers of the HTTP request.
Corresponds to the JSON property writeMetadata
1392 1393 1394 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1392 def @write_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1400 1401 1402 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1400 def update!(**args) @write_metadata = args[:write_metadata] if args.key?(:write_metadata) end |