Class: Google::Apis::DisplayvideoV2::InventorySourceGroup

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb

Overview

A collection of targetable inventory sources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventorySourceGroup

Returns a new instance of InventorySourceGroup.



7044
7045
7046
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7044

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


7031
7032
7033
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7031

def display_name
  @display_name
end

#inventory_source_group_idFixnum

Output only. The unique ID of the inventory source group. Assigned by the system. Corresponds to the JSON property inventorySourceGroupId

Returns:

  • (Fixnum)


7037
7038
7039
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7037

def inventory_source_group_id
  @inventory_source_group_id
end

#nameString

Output only. The resource name of the inventory source group. Corresponds to the JSON property name

Returns:

  • (String)


7042
7043
7044
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7042

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7049
7050
7051
7052
7053
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7049

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