Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorCode
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsErrorCode
- 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
-
#authentication_error ⇒ String
Indicates failure to properly authenticate user.
-
#authorization_error ⇒ String
An error encountered when trying to authorize a user.
-
#date_error ⇒ String
The reasons for the date error Corresponds to the JSON property
dateError. -
#date_range_error ⇒ String
The reasons for the date range error Corresponds to the JSON property
dateRangeError. -
#distinct_error ⇒ String
The reasons for the distinct error Corresponds to the JSON property
distinctError. -
#header_error ⇒ String
The reasons for the header error.
-
#internal_error ⇒ String
An unexpected server-side error.
-
#query_error ⇒ String
An error with the query Corresponds to the JSON property
queryError. -
#quota_error ⇒ String
An error with the amonut of quota remaining.
-
#request_error ⇒ String
An error caused by the request Corresponds to the JSON property
requestError. -
#size_limit_error ⇒ String
The reasons for the size limit error Corresponds to the JSON property
sizeLimitError.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsErrorCode
constructor
A new instance of GoogleAdsSearchads360V0ErrorsErrorCode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsErrorCode
Returns a new instance of GoogleAdsSearchads360V0ErrorsErrorCode.
1413 1414 1415 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1413 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authentication_error ⇒ String
Indicates failure to properly authenticate user.
Corresponds to the JSON property authenticationError
1361 1362 1363 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1361 def authentication_error @authentication_error end |
#authorization_error ⇒ String
An error encountered when trying to authorize a user.
Corresponds to the JSON property authorizationError
1366 1367 1368 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1366 def @authorization_error end |
#date_error ⇒ String
The reasons for the date error
Corresponds to the JSON property dateError
1371 1372 1373 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1371 def date_error @date_error end |
#date_range_error ⇒ String
The reasons for the date range error
Corresponds to the JSON property dateRangeError
1376 1377 1378 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1376 def date_range_error @date_range_error end |
#distinct_error ⇒ String
The reasons for the distinct error
Corresponds to the JSON property distinctError
1381 1382 1383 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1381 def distinct_error @distinct_error end |
#header_error ⇒ String
The reasons for the header error.
Corresponds to the JSON property headerError
1386 1387 1388 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1386 def header_error @header_error end |
#internal_error ⇒ String
An unexpected server-side error.
Corresponds to the JSON property internalError
1391 1392 1393 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1391 def internal_error @internal_error end |
#query_error ⇒ String
An error with the query
Corresponds to the JSON property queryError
1396 1397 1398 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1396 def query_error @query_error end |
#quota_error ⇒ String
An error with the amonut of quota remaining.
Corresponds to the JSON property quotaError
1401 1402 1403 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1401 def quota_error @quota_error end |
#request_error ⇒ String
An error caused by the request
Corresponds to the JSON property requestError
1406 1407 1408 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1406 def request_error @request_error end |
#size_limit_error ⇒ String
The reasons for the size limit error
Corresponds to the JSON property sizeLimitError
1411 1412 1413 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1411 def size_limit_error @size_limit_error end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1418 def update!(**args) @authentication_error = args[:authentication_error] if args.key?(:authentication_error) @authorization_error = args[:authorization_error] if args.key?(:authorization_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) @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 |