Class: Google::Apis::DfareportingV5::SkippableSetting

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

Overview

Skippable Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SkippableSetting

Returns a new instance of SkippableSetting.



12387
12388
12389
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12387

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)


12369
12370
12371
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12369

def kind
  @kind
end

#progress_offsetGoogle::Apis::DfareportingV5::VideoOffset

Video Offset Corresponds to the JSON property progressOffset



12374
12375
12376
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12374

def progress_offset
  @progress_offset
end

#skip_offsetGoogle::Apis::DfareportingV5::VideoOffset

Video Offset Corresponds to the JSON property skipOffset



12379
12380
12381
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12379

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)


12384
12385
12386
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12384

def skippable
  @skippable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12392
12393
12394
12395
12396
12397
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12392

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