Class: Google::Apis::DisplayvideoV1::CombinedAudience

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 combined audience resource.

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) ⇒ CombinedAudience

Returns a new instance of CombinedAudience.



1771
1772
1773
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1771

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)


1758
1759
1760
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1758

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)


1764
1765
1766
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1764

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


1769
1770
1771
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1769

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1776
1777
1778
1779
1780
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1776

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