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

Constructor Details

#initialize(**args) ⇒ File

Returns a new instance of File.



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

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)


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

def byte_count
  @byte_count
end

#urlString

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

Returns:

  • (String)


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

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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