Class: Google::Apis::DisplayvideoV2::ReplaceNegativeKeywordsRequest

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 NegativeKeywordService.ReplaceNegativeKeywords.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReplaceNegativeKeywordsRequest

Returns a new instance of ReplaceNegativeKeywordsRequest.



10412
10413
10414
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10412

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

Instance Attribute Details

#new_negative_keywordsArray<Google::Apis::DisplayvideoV2::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



10410
10411
10412
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10410

def new_negative_keywords
  @new_negative_keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10417
10418
10419
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10417

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