Class: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate
- 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
Network template.
Instance Attribute Summary collapse
-
#applicable_instance_types ⇒ Array<String>
Instance types this template is applicable to.
-
#logical_interfaces ⇒ Array<Google::Apis::BaremetalsolutionV2::LogicalInterface>
Logical interfaces.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServerNetworkTemplate
constructor
A new instance of ServerNetworkTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServerNetworkTemplate
Returns a new instance of ServerNetworkTemplate.
1440 1441 1442 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1440 def initialize(**args) update!(**args) end |
Instance Attribute Details
#applicable_instance_types ⇒ Array<String>
Instance types this template is applicable to.
Corresponds to the JSON property applicableInstanceTypes
1428 1429 1430 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1428 def applicable_instance_types @applicable_instance_types end |
#logical_interfaces ⇒ Array<Google::Apis::BaremetalsolutionV2::LogicalInterface>
Logical interfaces.
Corresponds to the JSON property logicalInterfaces
1433 1434 1435 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1433 def logical_interfaces @logical_interfaces end |
#name ⇒ String
Output only. Template's unique name.
Corresponds to the JSON property name
1438 1439 1440 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1438 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1445 1446 1447 1448 1449 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1445 def update!(**args) @applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types) @logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces) @name = args[:name] if args.key?(:name) end |