Class: Google::Apis::GmailpostmastertoolsV1beta1::DeliveryError
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV1beta1::DeliveryError
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gmailpostmastertools_v1beta1/classes.rb,
generated/google/apis/gmailpostmastertools_v1beta1/representations.rb,
generated/google/apis/gmailpostmastertools_v1beta1/representations.rb
Overview
Metric on a particular delivery error type.
Instance Attribute Summary collapse
-
#error_class ⇒ String
The class of delivery error.
-
#error_ratio ⇒ Float
The ratio of messages where the error occurred vs all authenticated traffic.
-
#error_type ⇒ String
The type of delivery error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeliveryError
constructor
A new instance of DeliveryError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeliveryError
Returns a new instance of DeliveryError.
44 45 46 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 44 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_class ⇒ String
The class of delivery error.
Corresponds to the JSON property errorClass
32 33 34 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 32 def error_class @error_class end |
#error_ratio ⇒ Float
The ratio of messages where the error occurred vs all authenticated traffic.
Corresponds to the JSON property errorRatio
37 38 39 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 37 def error_ratio @error_ratio end |
#error_type ⇒ String
The type of delivery error.
Corresponds to the JSON property errorType
42 43 44 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 42 def error_type @error_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
49 50 51 52 53 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 49 def update!(**args) @error_class = args[:error_class] if args.key?(:error_class) @error_ratio = args[:error_ratio] if args.key?(:error_ratio) @error_type = args[:error_type] if args.key?(:error_type) end |