Class: Google::Apis::DatamanagerV1::IngestAdEventsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::IngestAdEventsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamanager_v1/classes.rb,
lib/google/apis/datamanager_v1/representations.rb,
lib/google/apis/datamanager_v1/representations.rb
Overview
Request to upload ad events.
Instance Attribute Summary collapse
-
#ad_events ⇒ Array<Google::Apis::DatamanagerV1::AdEvent>
Required.
-
#encryption_info ⇒ Google::Apis::DatamanagerV1::EncryptionInfo
Encryption information for the data being ingested.
-
#validate_only ⇒ Boolean
(also: #validate_only?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IngestAdEventsRequest
constructor
A new instance of IngestAdEventsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IngestAdEventsRequest
Returns a new instance of IngestAdEventsRequest.
1305 1306 1307 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_events ⇒ Array<Google::Apis::DatamanagerV1::AdEvent>
Required. Required (at least 1). A list of ad events.
Corresponds to the JSON property adEvents
1292 1293 1294 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1292 def ad_events @ad_events end |
#encryption_info ⇒ Google::Apis::DatamanagerV1::EncryptionInfo
Encryption information for the data being ingested.
Corresponds to the JSON property encryptionInfo
1297 1298 1299 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1297 def encryption_info @encryption_info end |
#validate_only ⇒ Boolean Also known as: validate_only?
Optional. If true, the request is validated, but not executed.
Corresponds to the JSON property validateOnly
1302 1303 1304 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1302 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1310 1311 1312 1313 1314 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1310 def update!(**args) @ad_events = args[:ad_events] if args.key?(:ad_events) @encryption_info = args[:encryption_info] if args.key?(:encryption_info) @validate_only = args[:validate_only] if args.key?(:validate_only) end |