class Google::Apis::DfareportingV3_5::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::DfareportingV3_5::DateRange]
Etag of this resource. 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 [Fixnum]
Identifies what kind of resource this is. Value: the fixed string “ 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 [Fixnum]
The ID of the report this file was generated from. Corresponds to the JSON property `reportId` @return [Fixnum]
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::DfareportingV3_5::File::Urls]
Public Class Methods
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 5702 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 5707 def update!(**args) @date_range = args[:date_range] if args.key?(:date_range) @etag = args[:etag] if args.key?(:etag) @file_name = args[:file_name] if args.key?(:file_name) @format = args[:format] if args.key?(:format) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @report_id = args[:report_id] if args.key?(:report_id) @status = args[:status] if args.key?(:status) @urls = args[:urls] if args.key?(:urls) end