Class: Google::Apis::DfareportingV4::SkippableSetting
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::SkippableSetting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Skippable Settings
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#progress_offset ⇒ Google::Apis::DfareportingV4::VideoOffset
Video Offset Corresponds to the JSON property
progressOffset
. -
#skip_offset ⇒ Google::Apis::DfareportingV4::VideoOffset
Video Offset Corresponds to the JSON property
skipOffset
. -
#skippable ⇒ Boolean
(also: #skippable?)
Whether the user can skip creatives served to this placement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SkippableSetting
constructor
A new instance of SkippableSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SkippableSetting
Returns a new instance of SkippableSetting.
11921 11922 11923 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11921 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#skippableSetting".
Corresponds to the JSON property kind
11903 11904 11905 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11903 def kind @kind end |
#progress_offset ⇒ Google::Apis::DfareportingV4::VideoOffset
Video Offset
Corresponds to the JSON property progressOffset
11908 11909 11910 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11908 def progress_offset @progress_offset end |
#skip_offset ⇒ Google::Apis::DfareportingV4::VideoOffset
Video Offset
Corresponds to the JSON property skipOffset
11913 11914 11915 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11913 def skip_offset @skip_offset end |
#skippable ⇒ Boolean Also known as: skippable?
Whether the user can skip creatives served to this placement.
Corresponds to the JSON property skippable
11918 11919 11920 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11918 def skippable @skippable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11926 11927 11928 11929 11930 11931 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11926 def update!(**args) @kind = args[:kind] if args.key?(:kind) @progress_offset = args[:progress_offset] if args.key?(:progress_offset) @skip_offset = args[:skip_offset] if args.key?(:skip_offset) @skippable = args[:skippable] if args.key?(:skippable) end |