Class: Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkEditNegativeKeywordsRequest

Returns a new instance of BulkEditNegativeKeywordsRequest.



1619
1620
1621
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1619

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

Instance Attribute Details

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

The negative keywords to create in batch, specified as a list of NegativeKeywords. Corresponds to the JSON property createdNegativeKeywords



1611
1612
1613
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1611

def created_negative_keywords
  @created_negative_keywords
end

#deleted_negative_keywordsArray<String>

The negative keywords to delete in batch, specified as a list of keyword_values. Corresponds to the JSON property deletedNegativeKeywords

Returns:

  • (Array<String>)


1617
1618
1619
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1617

def deleted_negative_keywords
  @deleted_negative_keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1624
1625
1626
1627
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1624

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