Class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkLacpStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InterconnectDiagnosticsLinkLacpStatus

Returns a new instance of InterconnectDiagnosticsLinkLacpStatus



13185
13186
13187
# File 'generated/google/apis/compute_alpha/classes.rb', line 13185

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#google_system_idString

System ID of the port on Google?s side of the LACP exchange. Corresponds to the JSON property googleSystemId

Returns:

  • (String)


13173
13174
13175
# File 'generated/google/apis/compute_alpha/classes.rb', line 13173

def google_system_id
  @google_system_id
end

#neighbor_system_idString

System ID of the port on the neighbor?s side of the LACP exchange. Corresponds to the JSON property neighborSystemId

Returns:

  • (String)


13178
13179
13180
# File 'generated/google/apis/compute_alpha/classes.rb', line 13178

def neighbor_system_id
  @neighbor_system_id
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13183
13184
13185
# File 'generated/google/apis/compute_alpha/classes.rb', line 13183

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13190
13191
13192
13193
13194
# File 'generated/google/apis/compute_alpha/classes.rb', line 13190

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