Class: Google::Apis::GmailpostmastertoolsV2::ComplianceStatus

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

The status of a sender compliance requirement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ComplianceStatus

Returns a new instance of ComplianceStatus.



149
150
151
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 149

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

Instance Attribute Details

#statusString

Output only. The compliance status. Corresponds to the JSON property status

Returns:

  • (String)


147
148
149
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 147

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



154
155
156
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 154

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