Class: Google::Apis::DfareportingV2_8::File::Urls

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

Overview

The URLs where the completed report file can be downloaded.

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) ⇒ Urls

Returns a new instance of Urls



5685
5686
5687
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 5685

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

Instance Attribute Details

#api_urlString

The URL for downloading the report data through the API. Corresponds to the JSON property apiUrl

Returns:

  • (String)


5678
5679
5680
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 5678

def api_url
  @api_url
end

#browser_urlString

The URL for downloading the report data through a browser. Corresponds to the JSON property browserUrl

Returns:

  • (String)


5683
5684
5685
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 5683

def browser_url
  @browser_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5690
5691
5692
5693
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 5690

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