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.



512
513
514
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 512

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)


505
506
507
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 505

def byte_count
  @byte_count
end

#urlString

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

Returns:

  • (String)


510
511
512
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 510

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



517
518
519
520
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 517

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