Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorCode

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

The error reason represented by type and enum.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsErrorCode

Returns a new instance of GoogleAdsSearchads360V0ErrorsErrorCode.



3011
3012
3013
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3011

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

Instance Attribute Details

#authentication_errorString

Indicates failure to properly authenticate user. Corresponds to the JSON property authenticationError

Returns:

  • (String)


2949
2950
2951
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2949

def authentication_error
  @authentication_error
end

#authorization_errorString

An error encountered when trying to authorize a user. Corresponds to the JSON property authorizationError

Returns:

  • (String)


2954
2955
2956
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2954

def authorization_error
  @authorization_error
end

#custom_column_errorString

The reasons for the custom column error Corresponds to the JSON property customColumnError

Returns:

  • (String)


2959
2960
2961
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2959

def custom_column_error
  @custom_column_error
end

#date_errorString

The reasons for the date error Corresponds to the JSON property dateError

Returns:

  • (String)


2964
2965
2966
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2964

def date_error
  @date_error
end

#date_range_errorString

The reasons for the date range error Corresponds to the JSON property dateRangeError

Returns:

  • (String)


2969
2970
2971
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2969

def date_range_error
  @date_range_error
end

#distinct_errorString

The reasons for the distinct error Corresponds to the JSON property distinctError

Returns:

  • (String)


2974
2975
2976
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2974

def distinct_error
  @distinct_error
end

#header_errorString

The reasons for the header error. Corresponds to the JSON property headerError

Returns:

  • (String)


2979
2980
2981
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2979

def header_error
  @header_error
end

#internal_errorString

An unexpected server-side error. Corresponds to the JSON property internalError

Returns:

  • (String)


2984
2985
2986
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2984

def internal_error
  @internal_error
end

#invalid_parameter_errorString

The reasons for invalid parameter errors. Corresponds to the JSON property invalidParameterError

Returns:

  • (String)


2989
2990
2991
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2989

def invalid_parameter_error
  @invalid_parameter_error
end

#query_errorString

An error with the query Corresponds to the JSON property queryError

Returns:

  • (String)


2994
2995
2996
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2994

def query_error
  @query_error
end

#quota_errorString

An error with the amount of quota remaining. Corresponds to the JSON property quotaError

Returns:

  • (String)


2999
3000
3001
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2999

def quota_error
  @quota_error
end

#request_errorString

An error caused by the request Corresponds to the JSON property requestError

Returns:

  • (String)


3004
3005
3006
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3004

def request_error
  @request_error
end

#size_limit_errorString

The reasons for the size limit error Corresponds to the JSON property sizeLimitError

Returns:

  • (String)


3009
3010
3011
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3009

def size_limit_error
  @size_limit_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3016

def update!(**args)
  @authentication_error = args[:authentication_error] if args.key?(:authentication_error)
  @authorization_error = args[:authorization_error] if args.key?(:authorization_error)
  @custom_column_error = args[:custom_column_error] if args.key?(:custom_column_error)
  @date_error = args[:date_error] if args.key?(:date_error)
  @date_range_error = args[:date_range_error] if args.key?(:date_range_error)
  @distinct_error = args[:distinct_error] if args.key?(:distinct_error)
  @header_error = args[:header_error] if args.key?(:header_error)
  @internal_error = args[:internal_error] if args.key?(:internal_error)
  @invalid_parameter_error = args[:invalid_parameter_error] if args.key?(:invalid_parameter_error)
  @query_error = args[:query_error] if args.key?(:query_error)
  @quota_error = args[:quota_error] if args.key?(:quota_error)
  @request_error = args[:request_error] if args.key?(:request_error)
  @size_limit_error = args[:size_limit_error] if args.key?(:size_limit_error)
end