Class: Google::Apis::DisplayvideoV1::BulkEditLineItemAssignedTargetingOptionsRequest

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

Overview

Request message for BulkEditLineItemAssignedTargetingOptions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BulkEditLineItemAssignedTargetingOptionsRequest

Returns a new instance of BulkEditLineItemAssignedTargetingOptionsRequest.



1259
1260
1261
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1259

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

Instance Attribute Details

#create_requestsArray<Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest>

The assigned targeting options to create in batch, specified as a list of CreateAssignedTargetingOptionsRequest. Corresponds to the JSON property createRequests



1251
1252
1253
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1251

def create_requests
  @create_requests
end

#delete_requestsArray<Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest>

The assigned targeting options to delete in batch, specified as a list of DeleteAssignedTargetingOptionsRequest. Corresponds to the JSON property deleteRequests



1257
1258
1259
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1257

def delete_requests
  @delete_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1264
1265
1266
1267
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1264

def update!(**args)
  @create_requests = args[:create_requests] if args.key?(:create_requests)
  @delete_requests = args[:delete_requests] if args.key?(:delete_requests)
end