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.



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

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



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

def new_negative_keywords
  @new_negative_keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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