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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DealServingMetadata

Returns a new instance of DealServingMetadata



1406
1407
1408
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1406

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



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

def deal_pause_status
  @deal_pause_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1411
1412
1413
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1411

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