Class: Google::Apis::BaremetalsolutionV2::Vrf
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::Vrf
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb
Overview
A network VRF.
Instance Attribute Summary collapse
-
#autonomous_system_number ⇒ String
The autonomous system number of the VRF.
-
#juniper_alias ⇒ String
The Juniper alias of the VRF.
-
#name ⇒ String
The name of the VRF.
-
#route_target ⇒ Fixnum
The route target of the VRF.
-
#state ⇒ String
The possible state of VRF.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Vrf
constructor
A new instance of Vrf.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Vrf
Returns a new instance of Vrf.
815 816 817 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 815 def initialize(**args) update!(**args) end |
Instance Attribute Details
#autonomous_system_number ⇒ String
The autonomous system number of the VRF.
Corresponds to the JSON property autonomousSystemNumber
793 794 795 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 793 def autonomous_system_number @autonomous_system_number end |
#juniper_alias ⇒ String
The Juniper alias of the VRF.
Corresponds to the JSON property juniperAlias
798 799 800 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 798 def juniper_alias @juniper_alias end |
#name ⇒ String
The name of the VRF.
Corresponds to the JSON property name
803 804 805 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 803 def name @name end |
#route_target ⇒ Fixnum
The route target of the VRF.
Corresponds to the JSON property routeTarget
808 809 810 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 808 def route_target @route_target end |
#state ⇒ String
The possible state of VRF.
Corresponds to the JSON property state
813 814 815 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 813 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
820 821 822 823 824 825 826 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 820 def update!(**args) @autonomous_system_number = args[:autonomous_system_number] if args.key?(:autonomous_system_number) @juniper_alias = args[:juniper_alias] if args.key?(:juniper_alias) @name = args[:name] if args.key?(:name) @route_target = args[:route_target] if args.key?(:route_target) @state = args[:state] if args.key?(:state) end |