Class: Google::Apis::RealtimebiddingV1::DownloadSizeEvidence

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

Overview

Total download size and URL-level download size breakdown for resources in a creative.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DownloadSizeEvidence

Returns a new instance of DownloadSizeEvidence.



1029
1030
1031
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1029

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

Instance Attribute Details

#top_url_download_size_breakdownsArray<Google::Apis::RealtimebiddingV1::UrlDownloadSize>

Download size broken down by URLs with the top download size. Corresponds to the JSON property topUrlDownloadSizeBreakdowns



1022
1023
1024
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1022

def top_url_download_size_breakdowns
  @top_url_download_size_breakdowns
end

#total_download_size_kbFixnum

Total download size (in kilobytes) for all the resources in the creative. Corresponds to the JSON property totalDownloadSizeKb

Returns:

  • (Fixnum)


1027
1028
1029
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1027

def total_download_size_kb
  @total_download_size_kb
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1034
1035
1036
1037
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1034

def update!(**args)
  @top_url_download_size_breakdowns = args[:top_url_download_size_breakdowns] if args.key?(:top_url_download_size_breakdowns)
  @total_download_size_kb = args[:total_download_size_kb] if args.key?(:total_download_size_kb)
end