Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorDetails

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

Additional error details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsErrorDetails

Returns a new instance of GoogleAdsSearchads360V0ErrorsErrorDetails.



3087
3088
3089
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3087

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

Instance Attribute Details

#quota_error_detailsGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsQuotaErrorDetails

Additional quota error details when there is QuotaError. Corresponds to the JSON property quotaErrorDetails



3079
3080
3081
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3079

def quota_error_details
  @quota_error_details
end

#unpublished_error_codeString

The error code that should have been returned, but wasn't. This is used when the error code is not published in the client specified version. Corresponds to the JSON property unpublishedErrorCode

Returns:

  • (String)


3085
3086
3087
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3085

def unpublished_error_code
  @unpublished_error_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3092
3093
3094
3095
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3092

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