class Google::Apis::DisplayvideoV1::InventorySource

An inventory source.

Attributes

commitment[RW]

Whether the inventory source has a guaranteed or non-guaranteed delivery. Corresponds to the JSON property `commitment` @return [String]

creative_configs[RW]

The creative requirements of the inventory source. Not applicable for auction packages. Corresponds to the JSON property `creativeConfigs` @return [Array<Google::Apis::DisplayvideoV1::CreativeConfig>]

deal_id[RW]

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]

delivery_method[RW]

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]

display_name[RW]

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]

exchange[RW]

The exchange to which the inventory source belongs. Corresponds to the JSON property `exchange` @return [String]

inventory_source_id[RW]

Output only. The unique ID of the inventory source. Assigned by the system. Corresponds to the JSON property `inventorySourceId` @return [Fixnum]

inventory_source_type[RW]

Denotes the type of the inventory source. Corresponds to the JSON property `inventorySourceType` @return [String]

name[RW]

Output only. The resource name of the inventory source. Corresponds to the JSON property `name` @return [String]

publisher_name[RW]

The publisher/seller name of the inventory source. Corresponds to the JSON property `publisherName` @return [String]

rate_details[RW]

The rate related settings of the inventory source. Corresponds to the JSON property `rateDetails` @return [Google::Apis::DisplayvideoV1::RateDetails]

status[RW]

The status related settings of the inventory source. Corresponds to the JSON property `status` @return [Google::Apis::DisplayvideoV1::InventorySourceStatus]

time_range[RW]

A time range. Corresponds to the JSON property `timeRange` @return [Google::Apis::DisplayvideoV1::TimeRange]

update_time[RW]

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

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 5431
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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