Class: Google::Apis::DisplayvideoV2::GoogleAudience
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::GoogleAudience
- 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 Google audience resource. Includes Google audience lists.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#google_audience_id ⇒ Fixnum
Output only.
-
#google_audience_type ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAudience
constructor
A new instance of GoogleAudience.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAudience
Returns a new instance of GoogleAudience.
5936 5937 5938 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. The display name of the Google audience. .
Corresponds to the JSON property displayName
5919 5920 5921 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5919 def display_name @display_name end |
#google_audience_id ⇒ Fixnum
Output only. The unique ID of the Google audience. Assigned by the system.
Corresponds to the JSON property googleAudienceId
5924 5925 5926 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5924 def google_audience_id @google_audience_id end |
#google_audience_type ⇒ String
Output only. The type of Google audience. .
Corresponds to the JSON property googleAudienceType
5929 5930 5931 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5929 def google_audience_type @google_audience_type end |
#name ⇒ String
Output only. The resource name of the google audience.
Corresponds to the JSON property name
5934 5935 5936 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5934 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5941 5942 5943 5944 5945 5946 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5941 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @google_audience_id = args[:google_audience_id] if args.key?(:google_audience_id) @google_audience_type = args[:google_audience_type] if args.key?(:google_audience_type) @name = args[:name] if args.key?(:name) end |