Class: Google::Apis::DoubleclickbidmanagerV1_1::ReportStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/doubleclickbidmanager_v1_1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1_1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1_1/representations.rb

Overview

Report status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportStatus

Returns a new instance of ReportStatus.



838
839
840
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 838

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#failureGoogle::Apis::DoubleclickbidmanagerV1_1::ReportFailure

An explanation of a report failure. Corresponds to the JSON property failure



821
822
823
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 821

def failure
  @failure
end

#finish_time_msFixnum

The time when this report either completed successfully or failed. Corresponds to the JSON property finishTimeMs

Returns:

  • (Fixnum)


826
827
828
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 826

def finish_time_ms
  @finish_time_ms
end

#formatString

The file type of the report. Corresponds to the JSON property format

Returns:

  • (String)


831
832
833
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 831

def format
  @format
end

#stateString

The state of the report. Corresponds to the JSON property state

Returns:

  • (String)


836
837
838
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 836

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



843
844
845
846
847
848
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 843

def update!(**args)
  @failure = args[:failure] if args.key?(:failure)
  @finish_time_ms = args[:finish_time_ms] if args.key?(:finish_time_ms)
  @format = args[:format] if args.key?(:format)
  @state = args[:state] if args.key?(:state)
end