Class: Google::Apis::DoubleclickbidmanagerV1_1::ReportFailure

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

An explanation of a report failure.

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) ⇒ ReportFailure

Returns a new instance of ReportFailure.



581
582
583
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 581

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

Instance Attribute Details

#error_codeString

Error code that shows why the report was not created. Corresponds to the JSON property errorCode

Returns:

  • (String)


579
580
581
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 579

def error_code
  @error_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



586
587
588
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 586

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