Class: Google::Apis::DoubleclickbidmanagerV1::ReportStatus

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

Overview

Report status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReportStatus

Returns a new instance of ReportStatus



612
613
614
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 612

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

Instance Attribute Details

#failureGoogle::Apis::DoubleclickbidmanagerV1::ReportFailure

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



595
596
597
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 595

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)


600
601
602
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 600

def finish_time_ms
  @finish_time_ms
end

#formatString

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

Returns:

  • (String)


605
606
607
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 605

def format
  @format
end

#stateString

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

Returns:

  • (String)


610
611
612
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 610

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



617
618
619
620
621
622
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 617

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