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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ File

Returns a new instance of File



478
479
480
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 478

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)


471
472
473
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 471

def byte_count
  @byte_count
end

#urlString

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

Returns:

  • (String)


476
477
478
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 476

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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