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.



1043
1044
1045
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1043

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



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

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)


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

def total_download_size_kb
  @total_download_size_kb
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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