Class: Google::Apis::DisplayvideoV3::CustomList

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

Overview

Describes a custom list entity, such as a custom affinity or custom intent audience list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomList

Returns a new instance of CustomList.



4944
4945
4946
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4944

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

Instance Attribute Details

#custom_list_idFixnum

Output only. The unique ID of the custom list. Assigned by the system. Corresponds to the JSON property customListId

Returns:

  • (Fixnum)


4932
4933
4934
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4932

def custom_list_id
  @custom_list_id
end

#display_nameString

Output only. The display name of the custom list. . Corresponds to the JSON property displayName

Returns:

  • (String)


4937
4938
4939
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4937

def display_name
  @display_name
end

#nameString

Output only. The resource name of the custom list. Corresponds to the JSON property name

Returns:

  • (String)


4942
4943
4944
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4942

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4949
4950
4951
4952
4953
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4949

def update!(**args)
  @custom_list_id = args[:custom_list_id] if args.key?(:custom_list_id)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
end