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.



1047
1048
1049
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1047

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



1040
1041
1042
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1040

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)


1045
1046
1047
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1045

def total_download_size_kb
  @total_download_size_kb
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1052
1053
1054
1055
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1052

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