Class: Google::Apis::DoubleclicksearchV2::Report::File

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ File

Returns a new instance of File.



491
492
493
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 491

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

Instance Attribute Details

#byte_countFixnum

The size of this report file in bytes. Corresponds to the JSON property byteCount

Returns:

  • (Fixnum)


484
485
486
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 484

def byte_count
  @byte_count
end

#urlString

Use this url to download the report file. Corresponds to the JSON property url

Returns:

  • (String)


489
490
491
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 489

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



496
497
498
499
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 496

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