Class: Google::Apis::GmailpostmastertoolsV1::IpReputation
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV1::IpReputation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gmailpostmastertools_v1/classes.rb,
lib/google/apis/gmailpostmastertools_v1/representations.rb,
lib/google/apis/gmailpostmastertools_v1/representations.rb
Overview
IP Reputation information for a set of IPs in a specific reputation category.
Instance Attribute Summary collapse
-
#ip_count ⇒ Fixnum
Total number of unique IPs in this reputation category.
-
#reputation ⇒ String
The reputation category this IP reputation represents.
-
#sample_ips ⇒ Array<String>
A sample of IPs in this reputation category.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IpReputation
constructor
A new instance of IpReputation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IpReputation
Returns a new instance of IpReputation.
137 138 139 |
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_count ⇒ Fixnum
125 126 127 |
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 125 def ip_count @ip_count end |
#reputation ⇒ String
The reputation category this IP reputation represents.
Corresponds to the JSON property reputation
130 131 132 |
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 130 def reputation @reputation end |
#sample_ips ⇒ Array<String>
A sample of IPs in this reputation category.
Corresponds to the JSON property sampleIps
135 136 137 |
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 135 def sample_ips @sample_ips end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
142 143 144 145 146 |
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 142 def update!(**args) @ip_count = args[:ip_count] if args.key?(:ip_count) @reputation = args[:reputation] if args.key?(:reputation) @sample_ips = args[:sample_ips] if args.key?(:sample_ips) end |