Class: Google::Apis::GmailpostmastertoolsV2::ComplianceRowData

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

Data for a single row of the compliance status table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ComplianceRowData

Returns a new instance of ComplianceRowData.



129
130
131
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 129

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

Instance Attribute Details

#requirementString

The compliance requirement. Corresponds to the JSON property requirement

Returns:

  • (String)


122
123
124
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 122

def requirement
  @requirement
end

#statusGoogle::Apis::GmailpostmastertoolsV2::ComplianceStatus

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



127
128
129
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 127

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



134
135
136
137
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 134

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