Class: Google::Apis::DisplayvideoV1::InventorySourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::InventorySourceStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
The status related settings of the inventory source.
Instance Attribute Summary collapse
-
#config_status ⇒ String
Output only.
-
#entity_pause_reason ⇒ String
The user-provided reason for pausing this inventory source.
-
#entity_status ⇒ String
Whether or not the inventory source is servable.
-
#seller_pause_reason ⇒ String
Output only.
-
#seller_status ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InventorySourceStatus
constructor
A new instance of InventorySourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InventorySourceStatus
Returns a new instance of InventorySourceStatus.
5140 5141 5142 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config_status ⇒ String
Output only. The configuration status of the inventory source. Only applicable
for guaranteed inventory sources. Acceptable values are
INVENTORY_SOURCE_CONFIG_STATUS_PENDING
and
INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED
. An inventory source must be
configured (fill in the required fields, choose creatives, and select a
default campaign) before it can serve.
Corresponds to the JSON property configStatus
5110 5111 5112 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5110 def config_status @config_status end |
#entity_pause_reason ⇒ String
The user-provided reason for pausing this inventory source. Must not exceed
100 characters. Only applicable when entity_status is set to
ENTITY_STATUS_PAUSED
.
Corresponds to the JSON property entityPauseReason
5117 5118 5119 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5117 def entity_pause_reason @entity_pause_reason end |
#entity_status ⇒ String
Whether or not the inventory source is servable. Acceptable values are
ENTITY_STATUS_ACTIVE
, ENTITY_STATUS_ARCHIVED
, and ENTITY_STATUS_PAUSED
.
Default value is ENTITY_STATUS_ACTIVE
.
Corresponds to the JSON property entityStatus
5124 5125 5126 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5124 def entity_status @entity_status end |
#seller_pause_reason ⇒ String
Output only. The seller-provided reason for pausing this inventory source.
Only applicable for inventory sources synced directly from the publishers and
when seller_status is set to ENTITY_STATUS_PAUSED
.
Corresponds to the JSON property sellerPauseReason
5131 5132 5133 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5131 def seller_pause_reason @seller_pause_reason end |
#seller_status ⇒ String
Output only. The status set by the seller for the inventory source. Only
applicable for inventory sources synced directly from the publishers.
Acceptable values are ENTITY_STATUS_ACTIVE
and ENTITY_STATUS_PAUSED
.
Corresponds to the JSON property sellerStatus
5138 5139 5140 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5138 def seller_status @seller_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5145 5146 5147 5148 5149 5150 5151 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5145 def update!(**args) @config_status = args[:config_status] if args.key?(:config_status) @entity_pause_reason = args[:entity_pause_reason] if args.key?(:entity_pause_reason) @entity_status = args[:entity_status] if args.key?(:entity_status) @seller_pause_reason = args[:seller_pause_reason] if args.key?(:seller_pause_reason) @seller_status = args[:seller_status] if args.key?(:seller_status) end |