Class: Google::Apis::DisplayvideoV3::Consent

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

User consent status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Consent

Returns a new instance of Consent.



3586
3587
3588
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3586

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

Instance Attribute Details

#ad_personalizationString

Represents consent for ad personalization. Corresponds to the JSON property adPersonalization

Returns:

  • (String)


3579
3580
3581
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3579

def ad_personalization
  @ad_personalization
end

#ad_user_dataString

Represents consent for ad user data. Corresponds to the JSON property adUserData

Returns:

  • (String)


3584
3585
3586
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3584

def ad_user_data
  @ad_user_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3591
3592
3593
3594
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3591

def update!(**args)
  @ad_personalization = args[:ad_personalization] if args.key?(:ad_personalization)
  @ad_user_data = args[:ad_user_data] if args.key?(:ad_user_data)
end