Class: Google::Apis::DfareportingV2_5::CreativeAsset
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_5::CreativeAsset
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/representations.rb
Overview
Creative Asset.
Instance Attribute Summary collapse
-
#action_script3 ⇒ Boolean
(also: #action_script3?)
Whether ActionScript3 is enabled for the flash asset.
-
#active ⇒ Boolean
(also: #active?)
Whether the video asset is active.
-
#alignment ⇒ String
Possible alignments for an asset.
-
#artwork_type ⇒ String
Artwork type of rich media creative.
-
#asset_identifier ⇒ Google::Apis::DfareportingV2_5::CreativeAssetId
Creative Asset ID.
-
#backup_image_exit ⇒ Google::Apis::DfareportingV2_5::CreativeCustomEvent
Creative Custom Event.
-
#bit_rate ⇒ Fixnum
Detected bit-rate for video asset.
-
#child_asset_type ⇒ String
Rich media child asset type.
-
#collapsed_size ⇒ Google::Apis::DfareportingV2_5::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
-
#custom_start_time_value ⇒ Fixnum
Custom start time in seconds for making the asset visible.
-
#detected_features ⇒ Array<String>
List of feature dependencies for the creative asset that are detected by DCM.
-
#display_type ⇒ String
Type of rich media asset.
-
#duration ⇒ Fixnum
Duration in seconds for which an asset will be displayed.
-
#duration_type ⇒ String
Duration type for which an asset will be displayed.
-
#expanded_dimension ⇒ Google::Apis::DfareportingV2_5::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
-
#file_size ⇒ String
File size associated with this creative asset.
-
#flash_version ⇒ Fixnum
Flash version of the asset.
-
#hide_flash_objects ⇒ Boolean
(also: #hide_flash_objects?)
Whether to hide Flash objects flag for an asset.
-
#hide_selection_boxes ⇒ Boolean
(also: #hide_selection_boxes?)
Whether to hide selection boxes flag for an asset.
-
#horizontally_locked ⇒ Boolean
(also: #horizontally_locked?)
Whether the asset is horizontally locked.
-
#id ⇒ String
Numeric ID of this creative asset.
-
#mime_type ⇒ String
Detected MIME type for video asset.
-
#offset ⇒ Google::Apis::DfareportingV2_5::OffsetPosition
Offset Position.
-
#original_backup ⇒ Boolean
(also: #original_backup?)
Whether the backup asset is original or changed by the user in DCM.
-
#position ⇒ Google::Apis::DfareportingV2_5::OffsetPosition
Offset Position.
-
#position_left_unit ⇒ String
Offset left unit for an asset.
-
#position_top_unit ⇒ String
Offset top unit for an asset.
-
#progressive_serving_url ⇒ String
Progressive URL for video asset.
-
#pushdown ⇒ Boolean
(also: #pushdown?)
Whether the asset pushes down other content.
-
#pushdown_duration ⇒ Float
Pushdown duration in seconds for an asset.
-
#role ⇒ String
Role of the asset in relation to creative.
-
#size ⇒ Google::Apis::DfareportingV2_5::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
-
#ssl_compliant ⇒ Boolean
(also: #ssl_compliant?)
Whether the asset is SSL-compliant.
-
#start_time_type ⇒ String
Initial wait time type before making the asset visible.
-
#streaming_serving_url ⇒ String
Streaming URL for video asset.
-
#transparency ⇒ Boolean
(also: #transparency?)
Whether the asset is transparent.
-
#vertically_locked ⇒ Boolean
(also: #vertically_locked?)
Whether the asset is vertically locked.
-
#video_duration ⇒ Float
Detected video duration for video asset.
-
#window_mode ⇒ String
Window mode options for flash assets.
-
#z_index ⇒ Fixnum
zIndex value of an asset.
-
#zip_filename ⇒ String
File name of zip file.
-
#zip_filesize ⇒ String
Size of zip file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeAsset
constructor
A new instance of CreativeAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeAsset
Returns a new instance of CreativeAsset
3305 3306 3307 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_script3 ⇒ Boolean Also known as: action_script3?
Whether ActionScript3 is enabled for the flash asset. This is a read-only
field. Applicable to the following creative type: FLASH_INPAGE. Applicable to
DISPLAY when the primary asset type is not HTML_IMAGE.
Corresponds to the JSON property actionScript3
3018 3019 3020 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3018 def action_script3 @action_script3 end |
#active ⇒ Boolean Also known as: active?
Whether the video asset is active. This is a read-only field for
VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types:
INSTREAM_VIDEO and all VPAID.
Corresponds to the JSON property active
3026 3027 3028 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3026 def active @active end |
#alignment ⇒ String
Possible alignments for an asset. This is a read-only field. Applicable to the
following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL.
Corresponds to the JSON property alignment
3033 3034 3035 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3033 def alignment @alignment end |
#artwork_type ⇒ String
Artwork type of rich media creative. This is a read-only field. Applicable to
the following creative types: all RICH_MEDIA.
Corresponds to the JSON property artworkType
3039 3040 3041 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3039 def artwork_type @artwork_type end |
#asset_identifier ⇒ Google::Apis::DfareportingV2_5::CreativeAssetId
Creative Asset ID.
Corresponds to the JSON property assetIdentifier
3044 3045 3046 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3044 def asset_identifier @asset_identifier end |
#backup_image_exit ⇒ Google::Apis::DfareportingV2_5::CreativeCustomEvent
Creative Custom Event.
Corresponds to the JSON property backupImageExit
3049 3050 3051 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3049 def backup_image_exit @backup_image_exit end |
#bit_rate ⇒ Fixnum
Detected bit-rate for video asset. This is a read-only field. Applicable to
the following creative types: INSTREAM_VIDEO and all VPAID.
Corresponds to the JSON property bitRate
3055 3056 3057 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3055 def bit_rate @bit_rate end |
#child_asset_type ⇒ String
Rich media child asset type. This is a read-only field. Applicable to the
following creative types: all VPAID.
Corresponds to the JSON property childAssetType
3061 3062 3063 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3061 def child_asset_type @child_asset_type end |
#collapsed_size ⇒ Google::Apis::DfareportingV2_5::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Corresponds to the JSON property collapsedSize
3066 3067 3068 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3066 def collapsed_size @collapsed_size end |
#custom_start_time_value ⇒ Fixnum
Custom start time in seconds for making the asset visible. Applicable to the
following creative types: all RICH_MEDIA.
Corresponds to the JSON property customStartTimeValue
3072 3073 3074 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3072 def custom_start_time_value @custom_start_time_value end |
#detected_features ⇒ Array<String>
List of feature dependencies for the creative asset that are detected by DCM.
Feature dependencies are features that a browser must be able to support in
order to render your HTML5 creative correctly. This is a read-only, auto-
generated field. Applicable to the following creative types: HTML5_BANNER.
Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.
Corresponds to the JSON property detectedFeatures
3081 3082 3083 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3081 def detected_features @detected_features end |
#display_type ⇒ String
Type of rich media asset. This is a read-only field. Applicable to the
following creative types: all RICH_MEDIA.
Corresponds to the JSON property displayType
3087 3088 3089 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3087 def display_type @display_type end |
#duration ⇒ Fixnum
Duration in seconds for which an asset will be displayed. Applicable to the
following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO.
Corresponds to the JSON property duration
3093 3094 3095 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3093 def duration @duration end |
#duration_type ⇒ String
Duration type for which an asset will be displayed. Applicable to the
following creative types: all RICH_MEDIA.
Corresponds to the JSON property durationType
3099 3100 3101 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3099 def duration_type @duration_type end |
#expanded_dimension ⇒ Google::Apis::DfareportingV2_5::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Corresponds to the JSON property expandedDimension
3104 3105 3106 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3104 def @expanded_dimension end |
#file_size ⇒ String
File size associated with this creative asset. This is a read-only field.
Applicable to all but the following creative types: all REDIRECT and
TRACKING_TEXT.
Corresponds to the JSON property fileSize
3111 3112 3113 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3111 def file_size @file_size end |
#flash_version ⇒ Fixnum
Flash version of the asset. This is a read-only field. Applicable to the
following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID.
Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.
Corresponds to the JSON property flashVersion
3118 3119 3120 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3118 def flash_version @flash_version end |
#hide_flash_objects ⇒ Boolean Also known as: hide_flash_objects?
Whether to hide Flash objects flag for an asset. Applicable to the following
creative types: all RICH_MEDIA.
Corresponds to the JSON property hideFlashObjects
3124 3125 3126 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3124 def hide_flash_objects @hide_flash_objects end |
#hide_selection_boxes ⇒ Boolean Also known as: hide_selection_boxes?
Whether to hide selection boxes flag for an asset. Applicable to the following
creative types: all RICH_MEDIA.
Corresponds to the JSON property hideSelectionBoxes
3131 3132 3133 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3131 def hide_selection_boxes @hide_selection_boxes end |
#horizontally_locked ⇒ Boolean Also known as: horizontally_locked?
Whether the asset is horizontally locked. This is a read-only field.
Applicable to the following creative types: all RICH_MEDIA.
Corresponds to the JSON property horizontallyLocked
3138 3139 3140 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3138 def horizontally_locked @horizontally_locked end |
#id ⇒ String
Numeric ID of this creative asset. This is a required field and should not be
modified. Applicable to all but the following creative types: all REDIRECT and
TRACKING_TEXT.
Corresponds to the JSON property id
3146 3147 3148 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3146 def id @id end |
#mime_type ⇒ String
Detected MIME type for video asset. This is a read-only field. Applicable to
the following creative types: INSTREAM_VIDEO and all VPAID.
Corresponds to the JSON property mimeType
3152 3153 3154 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3152 def mime_type @mime_type end |
#offset ⇒ Google::Apis::DfareportingV2_5::OffsetPosition
Offset Position.
Corresponds to the JSON property offset
3157 3158 3159 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3157 def offset @offset end |
#original_backup ⇒ Boolean Also known as: original_backup?
Whether the backup asset is original or changed by the user in DCM. Applicable
to the following creative types: all RICH_MEDIA.
Corresponds to the JSON property originalBackup
3163 3164 3165 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3163 def original_backup @original_backup end |
#position ⇒ Google::Apis::DfareportingV2_5::OffsetPosition
Offset Position.
Corresponds to the JSON property position
3169 3170 3171 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3169 def position @position end |
#position_left_unit ⇒ String
Offset left unit for an asset. This is a read-only field. Applicable to the
following creative types: all RICH_MEDIA.
Corresponds to the JSON property positionLeftUnit
3175 3176 3177 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3175 def position_left_unit @position_left_unit end |
#position_top_unit ⇒ String
Offset top unit for an asset. This is a read-only field if the asset
displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following
creative types: all RICH_MEDIA.
Corresponds to the JSON property positionTopUnit
3182 3183 3184 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3182 def position_top_unit @position_top_unit end |
#progressive_serving_url ⇒ String
Progressive URL for video asset. This is a read-only field. Applicable to the
following creative types: INSTREAM_VIDEO and all VPAID.
Corresponds to the JSON property progressiveServingUrl
3188 3189 3190 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3188 def progressive_serving_url @progressive_serving_url end |
#pushdown ⇒ Boolean Also known as: pushdown?
Whether the asset pushes down other content. Applicable to the following
creative types: all RICH_MEDIA. Additionally, only applicable when the asset
offsets are 0, the collapsedSize.width matches size.width, and the
collapsedSize.height is less than size.height.
Corresponds to the JSON property pushdown
3196 3197 3198 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3196 def pushdown @pushdown end |
#pushdown_duration ⇒ Float
Pushdown duration in seconds for an asset. Must be between 0 and 9.99.
Applicable to the following creative types: all RICH_MEDIA.Additionally, only
applicable when the asset pushdown field is true, the offsets are 0, the
collapsedSize.width matches size.width, and the collapsedSize.height is less
than size.height.
Corresponds to the JSON property pushdownDuration
3206 3207 3208 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3206 def pushdown_duration @pushdown_duration end |
#role ⇒ String
Role of the asset in relation to creative. Applicable to all but the following
creative types: all REDIRECT and TRACKING_TEXT. This is a required field.
PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE,
DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary
assets), and all VPAID creatives.
BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all
VPAID creatives. Applicable to DISPLAY when the primary asset type is not
HTML_IMAGE.
ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives.
OTHER refers to assets from sources other than DCM, such as Studio uploaded
assets, applicable to all RICH_MEDIA and all VPAID creatives.
PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to
INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives.
TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets
and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives.
ALTERNATE_VIDEO refers to the DCM representation of child asset videos from
Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be
added or removed within DCM.
For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and
ALTERNATE_VIDEO assets that are marked active serve as backup in case the
VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or
removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative.
Corresponds to the JSON property role
3232 3233 3234 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3232 def role @role end |
#size ⇒ Google::Apis::DfareportingV2_5::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Corresponds to the JSON property size
3237 3238 3239 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3237 def size @size end |
#ssl_compliant ⇒ Boolean Also known as: ssl_compliant?
Whether the asset is SSL-compliant. This is a read-only field. Applicable to
all but the following creative types: all REDIRECT and TRACKING_TEXT.
Corresponds to the JSON property sslCompliant
3243 3244 3245 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3243 def ssl_compliant @ssl_compliant end |
#start_time_type ⇒ String
Initial wait time type before making the asset visible. Applicable to the
following creative types: all RICH_MEDIA.
Corresponds to the JSON property startTimeType
3250 3251 3252 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3250 def start_time_type @start_time_type end |
#streaming_serving_url ⇒ String
Streaming URL for video asset. This is a read-only field. Applicable to the
following creative types: INSTREAM_VIDEO and all VPAID.
Corresponds to the JSON property streamingServingUrl
3256 3257 3258 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3256 def streaming_serving_url @streaming_serving_url end |
#transparency ⇒ Boolean Also known as: transparency?
Whether the asset is transparent. Applicable to the following creative types:
all RICH_MEDIA. Additionally, only applicable to HTML5 assets.
Corresponds to the JSON property transparency
3262 3263 3264 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3262 def transparency @transparency end |
#vertically_locked ⇒ Boolean Also known as: vertically_locked?
Whether the asset is vertically locked. This is a read-only field. Applicable
to the following creative types: all RICH_MEDIA.
Corresponds to the JSON property verticallyLocked
3269 3270 3271 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3269 def vertically_locked @vertically_locked end |
#video_duration ⇒ Float
Detected video duration for video asset. This is a read-only field. Applicable
to the following creative types: INSTREAM_VIDEO and all VPAID.
Corresponds to the JSON property videoDuration
3276 3277 3278 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3276 def video_duration @video_duration end |
#window_mode ⇒ String
Window mode options for flash assets. Applicable to the following creative
types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND,
RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING.
Corresponds to the JSON property windowMode
3283 3284 3285 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3283 def window_mode @window_mode end |
#z_index ⇒ Fixnum
zIndex value of an asset. This is a read-only field. Applicable to the
following creative types: all RICH_MEDIA.Additionally, only applicable to
assets whose displayType is NOT one of the following types:
ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY.
Corresponds to the JSON property zIndex
3291 3292 3293 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3291 def z_index @z_index end |
#zip_filename ⇒ String
File name of zip file. This is a read-only field. Applicable to the following
creative types: HTML5_BANNER.
Corresponds to the JSON property zipFilename
3297 3298 3299 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3297 def zip_filename @zip_filename end |
#zip_filesize ⇒ String
Size of zip file. This is a read-only field. Applicable to the following
creative types: HTML5_BANNER.
Corresponds to the JSON property zipFilesize
3303 3304 3305 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3303 def zip_filesize @zip_filesize end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3310 def update!(**args) @action_script3 = args[:action_script3] if args.key?(:action_script3) @active = args[:active] if args.key?(:active) @alignment = args[:alignment] if args.key?(:alignment) @artwork_type = args[:artwork_type] if args.key?(:artwork_type) @asset_identifier = args[:asset_identifier] if args.key?(:asset_identifier) @backup_image_exit = args[:backup_image_exit] if args.key?(:backup_image_exit) @bit_rate = args[:bit_rate] if args.key?(:bit_rate) @child_asset_type = args[:child_asset_type] if args.key?(:child_asset_type) @collapsed_size = args[:collapsed_size] if args.key?(:collapsed_size) @custom_start_time_value = args[:custom_start_time_value] if args.key?(:custom_start_time_value) @detected_features = args[:detected_features] if args.key?(:detected_features) @display_type = args[:display_type] if args.key?(:display_type) @duration = args[:duration] if args.key?(:duration) @duration_type = args[:duration_type] if args.key?(:duration_type) @expanded_dimension = args[:expanded_dimension] if args.key?(:expanded_dimension) @file_size = args[:file_size] if args.key?(:file_size) @flash_version = args[:flash_version] if args.key?(:flash_version) @hide_flash_objects = args[:hide_flash_objects] if args.key?(:hide_flash_objects) @hide_selection_boxes = args[:hide_selection_boxes] if args.key?(:hide_selection_boxes) @horizontally_locked = args[:horizontally_locked] if args.key?(:horizontally_locked) @id = args[:id] if args.key?(:id) @mime_type = args[:mime_type] if args.key?(:mime_type) @offset = args[:offset] if args.key?(:offset) @original_backup = args[:original_backup] if args.key?(:original_backup) @position = args[:position] if args.key?(:position) @position_left_unit = args[:position_left_unit] if args.key?(:position_left_unit) @position_top_unit = args[:position_top_unit] if args.key?(:position_top_unit) @progressive_serving_url = args[:progressive_serving_url] if args.key?(:progressive_serving_url) @pushdown = args[:pushdown] if args.key?(:pushdown) @pushdown_duration = args[:pushdown_duration] if args.key?(:pushdown_duration) @role = args[:role] if args.key?(:role) @size = args[:size] if args.key?(:size) @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant) @start_time_type = args[:start_time_type] if args.key?(:start_time_type) @streaming_serving_url = args[:streaming_serving_url] if args.key?(:streaming_serving_url) @transparency = args[:transparency] if args.key?(:transparency) @vertically_locked = args[:vertically_locked] if args.key?(:vertically_locked) @video_duration = args[:video_duration] if args.key?(:video_duration) @window_mode = args[:window_mode] if args.key?(:window_mode) @z_index = args[:z_index] if args.key?(:z_index) @zip_filename = args[:zip_filename] if args.key?(:zip_filename) @zip_filesize = args[:zip_filesize] if args.key?(:zip_filesize) end |