Class: Google::Apis::DfareportingV3_1::SkippableSetting

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



11061
11062
11063
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11061

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)


11043
11044
11045
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11043

def kind
  @kind
end

#progress_offsetGoogle::Apis::DfareportingV3_1::VideoOffset

Video Offset Corresponds to the JSON property progressOffset



11048
11049
11050
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11048

def progress_offset
  @progress_offset
end

#skip_offsetGoogle::Apis::DfareportingV3_1::VideoOffset

Video Offset Corresponds to the JSON property skipOffset



11053
11054
11055
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11053

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)


11058
11059
11060
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11058

def skippable
  @skippable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11066
11067
11068
11069
11070
11071
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11066

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