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.


1398
1399
1400
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1398

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


1396
1397
1398
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1396

def deal_pause_status
  @deal_pause_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


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

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