Class: Google::Apis::ComputeAlpha::RouterBgpPeerCustomLearnedIpRange
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RouterBgpPeerCustomLearnedIpRange
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#range ⇒ String
The Custom Learned Route IP 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.
38808 38809 38810 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 38808 def initialize(**args) update!(**args) end |
Instance Attribute Details
#range ⇒ String
The Custom Learned Route IP range. Must be a valid CIDR-formatted prefix. If
an IP is provided without a subnet mask, it is interpreted as a /32 singular
IP range for IPv4, and /128 for IPv6.
Corresponds to the JSON property range
38806 38807 38808 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 38806 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
38813 38814 38815 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 38813 def update!(**args) @range = args[:range] if args.key?(:range) end |