class Google::Apis::DisplayvideoV1::InventorySource
An inventory source.
Attributes
Whether the inventory source has a guaranteed or non-guaranteed delivery. Corresponds to the JSON property `commitment` @return [String]
The creative requirements of the inventory source. Not applicable for auction packages. Corresponds to the JSON property `creativeConfigs` @return [Array<Google::Apis::DisplayvideoV1::CreativeConfig>]
The ID in the exchange space that uniquely identifies the inventory source. Must be unique across buyers within each exchange but not necessarily unique across exchanges. Corresponds to the JSON property `dealId` @return [String]
The delivery method of the inventory source. * For non-guaranteed inventory sources, the only acceptable value is ` INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. * For guaranteed inventory sources, acceptable values are `INVENTORY_SOURCE_DELIVERY_METHOD_TAG` and ` INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. Corresponds to the JSON property `deliveryMethod` @return [String]
The display name of the inventory source. Must be UTF-8 encoded with a maximum size of 240 bytes. Corresponds to the JSON property `displayName` @return [String]
The exchange to which the inventory source belongs. Corresponds to the JSON property `exchange` @return [String]
Output only. The unique ID of the inventory source. Assigned by the system. Corresponds to the JSON property `inventorySourceId` @return [Fixnum]
Denotes the type of the inventory source. Corresponds to the JSON property `inventorySourceType` @return [String]
Output only. The resource name of the inventory source. Corresponds to the JSON property `name` @return [String]
The publisher/seller name of the inventory source. Corresponds to the JSON property `publisherName` @return [String]
The rate related settings of the inventory source. Corresponds to the JSON property `rateDetails` @return [Google::Apis::DisplayvideoV1::RateDetails]
The status related settings of the inventory source. Corresponds to the JSON property `status` @return [Google::Apis::DisplayvideoV1::InventorySourceStatus]
A time range. Corresponds to the JSON property `timeRange` @return [Google::Apis::DisplayvideoV1::TimeRange]
Output only. The timestamp when the inventory source was last updated. Assigned by the system. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 5431 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 5436 def update!(**args) @commitment = args[:commitment] if args.key?(:commitment) @creative_configs = args[:creative_configs] if args.key?(:creative_configs) @deal_id = args[:deal_id] if args.key?(:deal_id) @delivery_method = args[:delivery_method] if args.key?(:delivery_method) @display_name = args[:display_name] if args.key?(:display_name) @exchange = args[:exchange] if args.key?(:exchange) @inventory_source_id = args[:inventory_source_id] if args.key?(:inventory_source_id) @inventory_source_type = args[:inventory_source_type] if args.key?(:inventory_source_type) @name = args[:name] if args.key?(:name) @publisher_name = args[:publisher_name] if args.key?(:publisher_name) @rate_details = args[:rate_details] if args.key?(:rate_details) @status = args[:status] if args.key?(:status) @time_range = args[:time_range] if args.key?(:time_range) @update_time = args[:update_time] if args.key?(:update_time) end