Class: Google::Apis::GmailpostmastertoolsV2::ComplianceRowData
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV2::ComplianceRowData
- 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
-
#requirement ⇒ String
The compliance requirement.
-
#status ⇒ Google::Apis::GmailpostmastertoolsV2::ComplianceStatus
The status of a sender compliance requirement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComplianceRowData
constructor
A new instance of ComplianceRowData.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#requirement ⇒ String
The compliance requirement.
Corresponds to the JSON property requirement
122 123 124 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 122 def requirement @requirement end |
#status ⇒ Google::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 |