Class: Google::Apis::DisplayvideoV3::GoogleAudience

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

Describes a Google audience resource. Includes Google audience lists.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAudience

Returns a new instance of GoogleAudience.



6645
6646
6647
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6645

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

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


6628
6629
6630
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6628

def display_name
  @display_name
end

#google_audience_idFixnum

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

Returns:

  • (Fixnum)


6633
6634
6635
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6633

def google_audience_id
  @google_audience_id
end

#google_audience_typeString

Output only. The type of Google audience. . Corresponds to the JSON property googleAudienceType

Returns:

  • (String)


6638
6639
6640
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6638

def google_audience_type
  @google_audience_type
end

#nameString

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

Returns:

  • (String)


6643
6644
6645
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6643

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6650
6651
6652
6653
6654
6655
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6650

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