Class: Google::Apis::GmailpostmastertoolsV2::HonorUnsubscribeVerdict
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV2::HonorUnsubscribeVerdict
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gmailpostmastertools_v2/classes.rb,
lib/google/apis/gmailpostmastertools_v2/representations.rb,
lib/google/apis/gmailpostmastertools_v2/representations.rb
Overview
Compliance verdict for whether a sender meets the unsubscribe honoring compliance requirement.
Instance Attribute Summary collapse
-
#reason ⇒ String
The specific reason for the compliance verdict.
-
#status ⇒ Google::Apis::GmailpostmastertoolsV2::ComplianceStatus
The status of a sender compliance requirement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HonorUnsubscribeVerdict
constructor
A new instance of HonorUnsubscribeVerdict.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HonorUnsubscribeVerdict
Returns a new instance of HonorUnsubscribeVerdict.
589 590 591 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 589 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
The specific reason for the compliance verdict. Must be empty if the status is
compliant.
Corresponds to the JSON property reason
582 583 584 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 582 def reason @reason end |
#status ⇒ Google::Apis::GmailpostmastertoolsV2::ComplianceStatus
The status of a sender compliance requirement.
Corresponds to the JSON property status
587 588 589 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 587 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
594 595 596 597 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 594 def update!(**args) @reason = args[:reason] if args.key?(:reason) @status = args[:status] if args.key?(:status) end |