Class: Google::Apis::DisplayvideoV1::Consent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/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.



2784
2785
2786
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2784

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

Instance Attribute Details

#ad_personalizationString

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

Returns:

  • (String)


2777
2778
2779
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2777

def ad_personalization
  @ad_personalization
end

#ad_user_dataString

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

Returns:

  • (String)


2782
2783
2784
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2782

def ad_user_data
  @ad_user_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2789
2790
2791
2792
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2789

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