Class: Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#idString

Feedback loop identifier that uniquely identifies individual campaigns. Corresponds to the JSON property id

Returns:

  • (String)


97
98
99
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 97

def id
  @id
end

#spam_ratioFloat

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

Returns:

  • (Float)


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