Class: Google::Apis::DisplayvideoV2::CustomList
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::CustomList
- 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
Describes a custom list entity, such as a custom affinity or custom intent audience list.
Instance Attribute Summary collapse
-
#custom_list_id ⇒ Fixnum
Output only.
-
#display_name ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomList
constructor
A new instance of CustomList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomList
Returns a new instance of CustomList.
4384 4385 4386 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4384 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_list_id ⇒ Fixnum
Output only. The unique ID of the custom list. Assigned by the system.
Corresponds to the JSON property customListId
4372 4373 4374 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4372 def custom_list_id @custom_list_id end |
#display_name ⇒ String
Output only. The display name of the custom list. .
Corresponds to the JSON property displayName
4377 4378 4379 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4377 def display_name @display_name end |
#name ⇒ String
Output only. The resource name of the custom list.
Corresponds to the JSON property name
4382 4383 4384 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4382 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4389 4390 4391 4392 4393 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4389 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 |