Class: Google::Apis::GmailpostmastertoolsV1beta1::IpReputation
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV1beta1::IpReputation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gmailpostmastertools_v1beta1/classes.rb,
generated/google/apis/gmailpostmastertools_v1beta1/representations.rb,
generated/google/apis/gmailpostmastertools_v1beta1/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.
-
#num_ips ⇒ 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.
145 146 147 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 145 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_count ⇒ Fixnum
125 126 127 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 125 def ip_count @ip_count end |
#num_ips ⇒ Fixnum
133 134 135 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 133 def num_ips @num_ips end |
#reputation ⇒ String
The reputation category this IP reputation represents.
Corresponds to the JSON property reputation
138 139 140 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 138 def reputation @reputation end |
#sample_ips ⇒ Array<String>
A sample of IPs in this reputation category.
Corresponds to the JSON property sampleIps
143 144 145 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 143 def sample_ips @sample_ips end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
150 151 152 153 154 155 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 150 def update!(**args) @ip_count = args[:ip_count] if args.key?(:ip_count) @num_ips = args[:num_ips] if args.key?(:num_ips) @reputation = args[:reputation] if args.key?(:reputation) @sample_ips = args[:sample_ips] if args.key?(:sample_ips) end |