Class: Google::Apis::ComputeV1::RouterBgpPeerCustomLearnedIpRange
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::RouterBgpPeerCustomLearnedIpRange
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#range ⇒ String
The custom learned route IP address range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RouterBgpPeerCustomLearnedIpRange
constructor
A new instance of RouterBgpPeerCustomLearnedIpRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RouterBgpPeerCustomLearnedIpRange
Returns a new instance of RouterBgpPeerCustomLearnedIpRange.
35233 35234 35235 |
# File 'lib/google/apis/compute_v1/classes.rb', line 35233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#range ⇒ String
The custom learned route IP address range. Must be a valid CIDR-formatted
prefix. If an IP address is provided without a subnet mask, it is interpreted
as, for IPv4, a /32
singular IP address range, and, for IPv6, /128
.
Corresponds to the JSON property range
35231 35232 35233 |
# File 'lib/google/apis/compute_v1/classes.rb', line 35231 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35238 35239 35240 |
# File 'lib/google/apis/compute_v1/classes.rb', line 35238 def update!(**args) @range = args[:range] if args.key?(:range) end |