Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsSearchAds360Error

Inherits:
Object
  • Object
show all
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

Search Ads 360-specific error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsSearchAds360Error

Returns a new instance of GoogleAdsSearchads360V0ErrorsSearchAds360Error.



3471
3472
3473
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3471

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

Instance Attribute Details

#detailsGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorDetails

Additional error details. Corresponds to the JSON property details



3449
3450
3451
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3449

def details
  @details
end

#error_codeGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorCode

The error reason represented by type and enum. Corresponds to the JSON property errorCode



3454
3455
3456
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3454

def error_code
  @error_code
end

#locationGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorLocation

Describes the part of the request proto that caused the error. Corresponds to the JSON property location



3459
3460
3461
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3459

def location
  @location
end

#messageString

A human-readable description of the error. Corresponds to the JSON property message

Returns:

  • (String)


3464
3465
3466
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3464

def message
  @message
end

#triggerGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonValue

A generic data container. Corresponds to the JSON property trigger



3469
3470
3471
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3469

def trigger
  @trigger
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3476
3477
3478
3479
3480
3481
3482
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3476

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