Class: Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment
- 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 GCP vlan attachment.
Instance Attribute Summary collapse
-
#id ⇒ String
Identifier of the VLAN attachment.
-
#pairing_key ⇒ String
Attachment pairing key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntakeVlanAttachment
constructor
A new instance of IntakeVlanAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IntakeVlanAttachment
Returns a new instance of IntakeVlanAttachment.
349 350 351 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Identifier of the VLAN attachment.
Corresponds to the JSON property id
342 343 344 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 342 def id @id end |
#pairing_key ⇒ String
Attachment pairing key.
Corresponds to the JSON property pairingKey
347 348 349 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 347 def pairing_key @pairing_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
354 355 356 357 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 354 def update!(**args) @id = args[:id] if args.key?(:id) @pairing_key = args[:pairing_key] if args.key?(:pairing_key) end |