Class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkLacpStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkLacpStatus
- 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
-
#google_system_id ⇒ String
System ID of the port on Google's side of the LACP exchange.
-
#neighbor_system_id ⇒ String
System ID of the port on the neighbor's side of the LACP exchange.
-
#state ⇒ String
The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterconnectDiagnosticsLinkLacpStatus
constructor
A new instance of InterconnectDiagnosticsLinkLacpStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectDiagnosticsLinkLacpStatus
Returns a new instance of InterconnectDiagnosticsLinkLacpStatus.
21872 21873 21874 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 21872 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_system_id ⇒ String
System ID of the port on Google's side of the LACP exchange.
Corresponds to the JSON property googleSystemId
21857 21858 21859 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 21857 def google_system_id @google_system_id end |
#neighbor_system_id ⇒ String
System ID of the port on the neighbor's side of the LACP exchange.
Corresponds to the JSON property neighborSystemId
21862 21863 21864 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 21862 def neighbor_system_id @neighbor_system_id end |
#state ⇒ String
The state of a LACP link, which can take one of the following values: - ACTIVE:
The link is configured and active within the bundle. - DETACHED: The link is
not configured within the bundle. This means that the rest of the object
should be empty.
Corresponds to the JSON property state
21870 21871 21872 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 21870 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21877 21878 21879 21880 21881 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 21877 def update!(**args) @google_system_id = args[:google_system_id] if args.key?(:google_system_id) @neighbor_system_id = args[:neighbor_system_id] if args.key?(:neighbor_system_id) @state = args[:state] if args.key?(:state) end |