Class: Google::Apis::DisplayvideoV1::InventorySourceGroup
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::InventorySourceGroup
- 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
A collection of targetable inventory sources.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Required.
-
#inventory_source_group_id ⇒ Fixnum
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InventorySourceGroup
constructor
A new instance of InventorySourceGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InventorySourceGroup
Returns a new instance of InventorySourceGroup.
5064 5065 5066 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5064 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Required. The display name of the inventory source group. Must be UTF-8
encoded with a maximum size of 240 bytes.
Corresponds to the JSON property displayName
5051 5052 5053 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5051 def display_name @display_name end |
#inventory_source_group_id ⇒ Fixnum
Output only. The unique ID of the inventory source group. Assigned by the
system.
Corresponds to the JSON property inventorySourceGroupId
5057 5058 5059 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5057 def inventory_source_group_id @inventory_source_group_id end |
#name ⇒ String
Output only. The resource name of the inventory source group.
Corresponds to the JSON property name
5062 5063 5064 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5062 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5069 5070 5071 5072 5073 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5069 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @inventory_source_group_id = args[:inventory_source_group_id] if args.key?(:inventory_source_group_id) @name = args[:name] if args.key?(:name) end |