Class: Google::Apis::DisplayvideoV2::CombinedAudience

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

Describes a combined audience resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CombinedAudience

Returns a new instance of CombinedAudience.



3030
3031
3032
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3030

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

Instance Attribute Details

#combined_audience_idFixnum

Output only. The unique ID of the combined audience. Assigned by the system. Corresponds to the JSON property combinedAudienceId

Returns:

  • (Fixnum)


3018
3019
3020
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3018

def combined_audience_id
  @combined_audience_id
end

#display_nameString

Output only. The display name of the combined audience. . Corresponds to the JSON property displayName

Returns:

  • (String)


3023
3024
3025
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3023

def display_name
  @display_name
end

#nameString

Output only. The resource name of the combined audience. Corresponds to the JSON property name

Returns:

  • (String)


3028
3029
3030
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3028

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3035
3036
3037
3038
3039
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3035

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