Class: Google::Apis::AlertcenterV1beta1::KeyServiceError

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb

Overview

Error related to an external key service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ KeyServiceError

Returns a new instance of KeyServiceError.



1458
1459
1460
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1458

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

Instance Attribute Details

#error_countFixnum

Number of similar errors encountered. Corresponds to the JSON property errorCount

Returns:

  • (Fixnum)


1441
1442
1443
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1441

def error_count
  @error_count
end

#error_infoString

Info on the key service error. Corresponds to the JSON property errorInfo

Returns:

  • (String)


1446
1447
1448
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1446

def error_info
  @error_info
end

#http_response_codeFixnum

HTTP response status code from the key service. Corresponds to the JSON property httpResponseCode

Returns:

  • (Fixnum)


1451
1452
1453
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1451

def http_response_code
  @http_response_code
end

#key_service_urlString

Url of the external key service. Corresponds to the JSON property keyServiceUrl

Returns:

  • (String)


1456
1457
1458
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1456

def key_service_url
  @key_service_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1463
1464
1465
1466
1467
1468
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1463

def update!(**args)
  @error_count = args[:error_count] if args.key?(:error_count)
  @error_info = args[:error_info] if args.key?(:error_info)
  @http_response_code = args[:http_response_code] if args.key?(:http_response_code)
  @key_service_url = args[:key_service_url] if args.key?(:key_service_url)
end