Class: Google::Apis::DoubleclickbidmanagerV1::ReportFailure

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

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



533
534
535
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 533

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)


531
532
533
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 531

def error_code
  @error_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



538
539
540
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 538

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