Class: Google::Apis::GmailpostmastertoolsV2::DeliverabilityStatusVerdict

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

Developer Preview: Verdict of domain deliverability status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeliverabilityStatusVerdict

Returns a new instance of DeliverabilityStatusVerdict.



339
340
341
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 339

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

Instance Attribute Details

#reasonString

Output only. The specific reason for the compliance verdict. Corresponds to the JSON property reason

Returns:

  • (String)


332
333
334
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 332

def reason
  @reason
end

#stateGoogle::Apis::GmailpostmastertoolsV2::ComplianceStatus

The status of a sender compliance requirement. Corresponds to the JSON property state



337
338
339
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 337

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



344
345
346
347
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 344

def update!(**args)
  @reason = args[:reason] if args.key?(:reason)
  @state = args[:state] if args.key?(:state)
end