Class: Google::Apis::Adexchangebuyer2V2beta1::DealServingMetadata

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

Overview

Message captures metadata about the serving status of a deal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DealServingMetadata

Returns a new instance of DealServingMetadata.



1399
1400
1401
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1399

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

Instance Attribute Details

#deal_pause_statusGoogle::Apis::Adexchangebuyer2V2beta1::DealPauseStatus

Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. Corresponds to the JSON property dealPauseStatus



1397
1398
1399
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1397

def deal_pause_status
  @deal_pause_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1404
1405
1406
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1404

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