class Google::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.
Attributes
Corresponds to the JSON property `buyerPauseReason` @return [String]
If the deal is paused, records which party paused the deal first. Corresponds to the JSON property `firstPausedBy` @return [String]
Corresponds to the JSON property `hasBuyerPaused` @return [Boolean]
Corresponds to the JSON property `hasBuyerPaused` @return [Boolean]
Corresponds to the JSON property `hasSellerPaused` @return [Boolean]
Corresponds to the JSON property `hasSellerPaused` @return [Boolean]
Corresponds to the JSON property `sellerPauseReason` @return [String]
Public Class Methods
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 1324 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 1329 def update!(**args) @buyer_pause_reason = args[:buyer_pause_reason] if args.key?(:buyer_pause_reason) @first_paused_by = args[:first_paused_by] if args.key?(:first_paused_by) @has_buyer_paused = args[:has_buyer_paused] if args.key?(:has_buyer_paused) @has_seller_paused = args[:has_seller_paused] if args.key?(:has_seller_paused) @seller_pause_reason = args[:seller_pause_reason] if args.key?(:seller_pause_reason) end