Class: Google::Apis::DfareportingV4::File::Urls
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::File::Urls
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
The URLs where the completed report file can be downloaded.
Instance Attribute Summary collapse
-
#api_url ⇒ String
The URL for downloading the report data through the API.
-
#browser_url ⇒ String
The URL for downloading the report data through a browser.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Urls
constructor
A new instance of Urls.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Urls
Returns a new instance of Urls.
6174 6175 6176 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_url ⇒ String
The URL for downloading the report data through the API.
Corresponds to the JSON property apiUrl
6167 6168 6169 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6167 def api_url @api_url end |
#browser_url ⇒ String
The URL for downloading the report data through a browser.
Corresponds to the JSON property browserUrl
6172 6173 6174 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6172 def browser_url @browser_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6179 6180 6181 6182 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6179 def update!(**args) @api_url = args[:api_url] if args.key?(:api_url) @browser_url = args[:browser_url] if args.key?(:browser_url) end |