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.


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

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

Instance Attribute Details

#byte_countString

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

Returns:

  • (String)

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

def byte_count
  @byte_count
end

#urlString

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

Returns:

  • (String)

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

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


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

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