Class: Google::Apis::DisplayvideoV1::ReplaceNegativeKeywordsRequest

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

Overview

Request message for NegativeKeywordService.ReplaceNegativeKeywords.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReplaceNegativeKeywordsRequest

Returns a new instance of ReplaceNegativeKeywordsRequest.



9508
9509
9510
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 9508

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

Instance Attribute Details

#new_negative_keywordsArray<Google::Apis::DisplayvideoV1::NegativeKeyword>

The negative keywords that will replace the existing keywords in the negative keyword list, specified as a list of NegativeKeywords. Corresponds to the JSON property newNegativeKeywords



9506
9507
9508
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 9506

def new_negative_keywords
  @new_negative_keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9513
9514
9515
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 9513

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