Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonIpBlockInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonIpBlockInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
An IpBlock criterion used for excluding IP addresses. We support excluding individual IP addresses or CIDR blocks. Create one IpBlockInfo criterion for each individual IP address or CIDR block you want to exclude. You can exclude up to 500 IP addresses per campaign. For more details, see Exclude IP addresses. IPv4 examples: * Individual address: 192.168.0.1 * Individual address as CIDR block: 192.168.0. 1/32 * CIDR block: 192.168.0.0/24 IPv6 examples: * Individual address: 2001: db8:a0b:12f0::1 * Individual address as CIDR block: 2001:db8:a0b:12f0::1/128 * CIDR block: 2001:db8::/48
Instance Attribute Summary collapse
-
#ip_address ⇒ String
The IP address or the CIDR block to be excluded.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonIpBlockInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonIpBlockInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonIpBlockInfo
Returns a new instance of GoogleAdsSearchads360V23CommonIpBlockInfo.
5877 5878 5879 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
The IP address or the CIDR block to be excluded.
Corresponds to the JSON property ipAddress
5875 5876 5877 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5875 def ip_address @ip_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5882 5883 5884 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5882 def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) end |