Class: Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop
- 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
Feedback loop identifier information.
Instance Attribute Summary collapse
-
#id ⇒ String
Feedback loop identifier that uniquely identifies individual campaigns.
-
#spam_ratio ⇒ Float
The ratio of user marked spam messages with the identifier vs the total number of inboxed messages with that identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FeedbackLoop
constructor
A new instance of FeedbackLoop.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FeedbackLoop
Returns a new instance of FeedbackLoop.
105 106 107 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Feedback loop identifier that uniquely identifies individual campaigns.
Corresponds to the JSON property id
97 98 99 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 97 def id @id end |
#spam_ratio ⇒ Float
The ratio of user marked spam messages with the identifier vs the total number
of inboxed messages with that identifier.
Corresponds to the JSON property spamRatio
103 104 105 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 103 def spam_ratio @spam_ratio end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
110 111 112 113 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 110 def update!(**args) @id = args[:id] if args.key?(:id) @spam_ratio = args[:spam_ratio] if args.key?(:spam_ratio) end |