Class: Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRulesError

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

Overview

An error message for a CustomBiddingAlgorithmRules resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomBiddingAlgorithmRulesError

Returns a new instance of CustomBiddingAlgorithmRulesError.



4750
4751
4752
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4750

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

Instance Attribute Details

#error_codeString

The type of error. Corresponds to the JSON property errorCode

Returns:

  • (String)


4748
4749
4750
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4748

def error_code
  @error_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4755
4756
4757
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4755

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