Class: Google::Apis::AdexchangebuyerV1_4::DealServingMetadata

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

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.



1182
1183
1184
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1182

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

Instance Attribute Details

#deal_pause_statusGoogle::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus

Tracks which parties (if any) have paused a deal. The deal is considered paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused or the has_seller_paused bits can be set independently. Corresponds to the JSON property dealPauseStatus



1180
1181
1182
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1180

def deal_pause_status
  @deal_pause_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1187
1188
1189
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1187

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