Class: Google::Apis::ComputeV1::RouterBgp
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::RouterBgp
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#asn ⇒ Fixnum
Local BGP Autonomous System Number (ASN).
Instance Method Summary collapse
-
#initialize(**args) ⇒ RouterBgp
constructor
A new instance of RouterBgp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ RouterBgp
Returns a new instance of RouterBgp
9171 9172 9173 |
# File 'generated/google/apis/compute_v1/classes.rb', line 9171 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asn ⇒ Fixnum
Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN,
either 16-bit or 32-bit. The value will be fixed for this router resource. All
VPN tunnels that link to this router will have the same local ASN.
Corresponds to the JSON property asn
9169 9170 9171 |
# File 'generated/google/apis/compute_v1/classes.rb', line 9169 def asn @asn end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9176 9177 9178 |
# File 'generated/google/apis/compute_v1/classes.rb', line 9176 def update!(**args) @asn = args[:asn] if args.key?(:asn) end |