Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsSearchAds360Error
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsSearchAds360Error
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
SearchAds360-specific error.
Instance Attribute Summary collapse
-
#details ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorDetails
Additional error details.
-
#error_code ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorCode
The error reason represented by type and enum.
-
#location ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorLocation
Describes the part of the request proto that caused the error.
-
#message ⇒ String
A human-readable description of the error.
-
#trigger ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonValue
A generic data container.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsSearchAds360Error
constructor
A new instance of GoogleAdsSearchads360V0ErrorsSearchAds360Error.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsSearchAds360Error
Returns a new instance of GoogleAdsSearchads360V0ErrorsSearchAds360Error.
2314 2315 2316 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorDetails
Additional error details.
Corresponds to the JSON property details
2292 2293 2294 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2292 def details @details end |
#error_code ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorCode
The error reason represented by type and enum.
Corresponds to the JSON property errorCode
2297 2298 2299 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2297 def error_code @error_code end |
#location ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorLocation
Describes the part of the request proto that caused the error.
Corresponds to the JSON property location
2302 2303 2304 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2302 def location @location end |
#message ⇒ String
A human-readable description of the error.
Corresponds to the JSON property message
2307 2308 2309 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2307 def @message end |
#trigger ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonValue
A generic data container.
Corresponds to the JSON property trigger
2312 2313 2314 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2312 def trigger @trigger end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2319 2320 2321 2322 2323 2324 2325 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2319 def update!(**args) @details = args[:details] if args.key?(:details) @error_code = args[:error_code] if args.key?(:error_code) @location = args[:location] if args.key?(:location) @message = args[:message] if args.key?(:message) @trigger = args[:trigger] if args.key?(:trigger) end |