GoogleApi.DFAReporting.V33.Model.File (google_api_dfa_reporting v0.31.0)

View Source

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

  • dateRange (type: GoogleApi.DFAReporting.V33.Model.DateRange.t, default: nil) - The date range for which the file has report data. The date range will always be the absolute date range for which the report is run.
  • etag (type: String.t, default: nil) - Etag of this resource.
  • fileName (type: String.t, default: nil) - The filename of the file.
  • format (type: String.t, default: nil) - The output format of the report. Only available once the file is available.
  • id (type: String.t, default: nil) - The unique ID of this report file.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#file".
  • lastModifiedTime (type: String.t, default: nil) - The timestamp in milliseconds since epoch when this file was last modified.
  • reportId (type: String.t, default: nil) - The ID of the report this file was generated from.
  • status (type: String.t, default: nil) - The status of the report file.
  • urls (type: GoogleApi.DFAReporting.V33.Model.FileUrls.t, default: nil) - The URLs where the completed report file can be downloaded.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V33.Model.File{
  dateRange: GoogleApi.DFAReporting.V33.Model.DateRange.t() | nil,
  etag: String.t() | nil,
  fileName: String.t() | nil,
  format: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  lastModifiedTime: String.t() | nil,
  reportId: String.t() | nil,
  status: String.t() | nil,
  urls: GoogleApi.DFAReporting.V33.Model.FileUrls.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.