Class: Google::Apis::DisplayvideoV2::BulkEditPartnerAssignedTargetingOptionsRequest

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

Overview

Request message for BulkEditPartnerAssignedTargetingOptions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkEditPartnerAssignedTargetingOptionsRequest

Returns a new instance of BulkEditPartnerAssignedTargetingOptionsRequest.



1912
1913
1914
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1912

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

Instance Attribute Details

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

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



1903
1904
1905
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1903

def create_requests
  @create_requests
end

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

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



1910
1911
1912
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1910

def delete_requests
  @delete_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1917
1918
1919
1920
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1917

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