Class: Google::Apis::DfareportingV2_7::SkippableSetting

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

Overview

Skippable Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SkippableSetting

Returns a new instance of SkippableSetting



10728
10729
10730
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10728

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#skippableSetting". Corresponds to the JSON property kind

Returns:

  • (String)


10710
10711
10712
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10710

def kind
  @kind
end

#progress_offsetGoogle::Apis::DfareportingV2_7::VideoOffset

Video Offset Corresponds to the JSON property progressOffset



10715
10716
10717
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10715

def progress_offset
  @progress_offset
end

#skip_offsetGoogle::Apis::DfareportingV2_7::VideoOffset

Video Offset Corresponds to the JSON property skipOffset



10720
10721
10722
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10720

def skip_offset
  @skip_offset
end

#skippableBoolean Also known as: skippable?

Whether the user can skip creatives served to this placement. Corresponds to the JSON property skippable

Returns:

  • (Boolean)


10725
10726
10727
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10725

def skippable
  @skippable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10733
10734
10735
10736
10737
10738
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10733

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