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.



1521
1522
1523
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1521

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)


1469
1470
1471
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1469

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)


1474
1475
1476
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1474

def authorization_error
  @authorization_error
end

#date_errorString

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

Returns:

  • (String)


1479
1480
1481
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1479

def date_error
  @date_error
end

#date_range_errorString

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

Returns:

  • (String)


1484
1485
1486
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1484

def date_range_error
  @date_range_error
end

#distinct_errorString

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

Returns:

  • (String)


1489
1490
1491
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1489

def distinct_error
  @distinct_error
end

#header_errorString

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

Returns:

  • (String)


1494
1495
1496
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1494

def header_error
  @header_error
end

#internal_errorString

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

Returns:

  • (String)


1499
1500
1501
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1499

def internal_error
  @internal_error
end

#query_errorString

An error with the query Corresponds to the JSON property queryError

Returns:

  • (String)


1504
1505
1506
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1504

def query_error
  @query_error
end

#quota_errorString

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

Returns:

  • (String)


1509
1510
1511
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1509

def quota_error
  @quota_error
end

#request_errorString

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

Returns:

  • (String)


1514
1515
1516
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1514

def request_error
  @request_error
end

#size_limit_errorString

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

Returns:

  • (String)


1519
1520
1521
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1519

def size_limit_error
  @size_limit_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1526

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