Class: Google::Apis::DoubleclickbidmanagerV2::ReportStatus

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

Overview

Report status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportStatus

Returns a new instance of ReportStatus.



682
683
684
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 682

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

Instance Attribute Details

#finish_timeString

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

Returns:

  • (String)


670
671
672
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 670

def finish_time
  @finish_time
end

#formatString

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

Returns:

  • (String)


675
676
677
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 675

def format
  @format
end

#stateString

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

Returns:

  • (String)


680
681
682
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 680

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



687
688
689
690
691
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 687

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