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

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



740
741
742
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 740

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



733
734
735
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 733

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)


738
739
740
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 738

def total_download_size_kb
  @total_download_size_kb
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



745
746
747
748
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 745

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