Class: Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsRequest

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

Overview

A request to reject a batch of publisher connections.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchRejectPublisherConnectionsRequest

Returns a new instance of BatchRejectPublisherConnectionsRequest.



313
314
315
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 313

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

Instance Attribute Details

#namesArray<String>

Required. The names of the publishers with whom connection will be rejected. In the pattern bidders/bidder/publisherConnections/publisherwhere bidderis the account ID of the bidder, andpublisher`is the ads.txt/app- ads.txt publisher ID. Corresponds to the JSON propertynames`

Returns:

  • (Array<String>)


311
312
313
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 311

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



318
319
320
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 318

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