Class: Google::Apis::DfareportingV4::SkippableSetting

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SkippableSetting

Returns a new instance of SkippableSetting.



12102
12103
12104
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12102

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)


12084
12085
12086
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12084

def kind
  @kind
end

#progress_offsetGoogle::Apis::DfareportingV4::VideoOffset

Video Offset Corresponds to the JSON property progressOffset



12089
12090
12091
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12089

def progress_offset
  @progress_offset
end

#skip_offsetGoogle::Apis::DfareportingV4::VideoOffset

Video Offset Corresponds to the JSON property skipOffset



12094
12095
12096
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12094

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)


12099
12100
12101
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12099

def skippable
  @skippable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12107
12108
12109
12110
12111
12112
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12107

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