Class: Google::Apis::DisplayvideoV1::AssignedInventorySource
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::AssignedInventorySource
- 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
An assignment between a targetable inventory source and an inventory source group.
Instance Attribute Summary collapse
-
#assigned_inventory_source_id ⇒ Fixnum
Output only.
-
#inventory_source_id ⇒ String
Required.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssignedInventorySource
constructor
A new instance of AssignedInventorySource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssignedInventorySource
Returns a new instance of AssignedInventorySource.
614 615 616 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 614 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_inventory_source_id ⇒ Fixnum
Output only. The unique ID of the assigned inventory source. The ID is only
unique within a given inventory source group. It may be reused in other
contexts.
Corresponds to the JSON property assignedInventorySourceId
602 603 604 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 602 def assigned_inventory_source_id @assigned_inventory_source_id end |
#inventory_source_id ⇒ String
Required. The ID of the inventory source entity being targeted.
Corresponds to the JSON property inventorySourceId
607 608 609 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 607 def inventory_source_id @inventory_source_id end |
#name ⇒ String
Output only. The resource name of the assigned inventory source.
Corresponds to the JSON property name
612 613 614 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 612 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
619 620 621 622 623 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 619 def update!(**args) @assigned_inventory_source_id = args[:assigned_inventory_source_id] if args.key?(:assigned_inventory_source_id) @inventory_source_id = args[:inventory_source_id] if args.key?(:inventory_source_id) @name = args[:name] if args.key?(:name) end |