Class: Google::Apis::DisplayvideoV1::CustomList

Inherits:
Object
  • Object
show all
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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomList

Returns a new instance of CustomList.



2634
2635
2636
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2634

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)


2621
2622
2623
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2621

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)


2627
2628
2629
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2627

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


2632
2633
2634
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2632

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2639
2640
2641
2642
2643
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2639

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