class Google::Apis::DfareportingV2_1::File
Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is “REPORT_AVAILABLE”.
Attributes
Represents a date range. Corresponds to the JSON property `dateRange` @return [Google::Apis::DfareportingV2_1::DateRange]
The eTag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]
The filename of the file. Corresponds to the JSON property `fileName` @return [String]
The output format of the report. Only available once the file is available. Corresponds to the JSON property `format` @return [String]
The unique ID of this report file. Corresponds to the JSON property `id` @return [String]
The kind of resource this is, in this case dfareporting#file. Corresponds to the JSON property `kind` @return [String]
The timestamp in milliseconds since epoch when this file was last modified. Corresponds to the JSON property `lastModifiedTime` @return [String]
The ID of the report this file was generated from. Corresponds to the JSON property `reportId` @return [String]
The status of the report file. Corresponds to the JSON property `status` @return [String]
The URLs where the completed report file can be downloaded. Corresponds to the JSON property `urls` @return [Google::Apis::DfareportingV2_1::File::Urls]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 4906 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 4911 def update!(**args) @date_range = args[:date_range] unless args[:date_range].nil? @etag = args[:etag] unless args[:etag].nil? @file_name = args[:file_name] unless args[:file_name].nil? @format = args[:format] unless args[:format].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @last_modified_time = args[:last_modified_time] unless args[:last_modified_time].nil? @report_id = args[:report_id] unless args[:report_id].nil? @status = args[:status] unless args[:status].nil? @urls = args[:urls] unless args[:urls].nil? end