Class: Google::Apis::DfareportingV2_1::File::Urls

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/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::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Urls

Returns a new instance of Urls.


4938
4939
4940
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4938

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)

4931
4932
4933
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4931

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)

4936
4937
4938
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4936

def browser_url
  @browser_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4943
4944
4945
4946
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4943

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