Class: Google::Apis::ComputeAlpha::InterconnectGroupsOperationalStatusInterconnectStatus

Inherits:
Object
  • Object
show all
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

Overview

The status of one Interconnect in the group. The order is arbitrary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectGroupsOperationalStatusInterconnectStatus

Returns a new instance of InterconnectGroupsOperationalStatusInterconnectStatus.



26511
26512
26513
# File 'lib/google/apis/compute_alpha/classes.rb', line 26511

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

Instance Attribute Details

#admin_enabledBoolean Also known as: admin_enabled?

Whether the Interconnect is enabled. Corresponds to the JSON property adminEnabled

Returns:

  • (Boolean)


26491
26492
26493
# File 'lib/google/apis/compute_alpha/classes.rb', line 26491

def admin_enabled
  @admin_enabled
end

#diagnosticsGoogle::Apis::ComputeAlpha::InterconnectDiagnostics

Diagnostics information about the Interconnect connection, which contains detailed and current technical information about Google's side of the connection. Corresponds to the JSON property diagnostics



26499
26500
26501
# File 'lib/google/apis/compute_alpha/classes.rb', line 26499

def diagnostics
  @diagnostics
end

#interconnectString

The URL of the Interconnect being described. Corresponds to the JSON property interconnect

Returns:

  • (String)


26504
26505
26506
# File 'lib/google/apis/compute_alpha/classes.rb', line 26504

def interconnect
  @interconnect
end

#is_activeString

Whether this interconnect is participating in the redundant configuration. Corresponds to the JSON property isActive

Returns:

  • (String)


26509
26510
26511
# File 'lib/google/apis/compute_alpha/classes.rb', line 26509

def is_active
  @is_active
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26516
26517
26518
26519
26520
26521
# File 'lib/google/apis/compute_alpha/classes.rb', line 26516

def update!(**args)
  @admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
  @diagnostics = args[:diagnostics] if args.key?(:diagnostics)
  @interconnect = args[:interconnect] if args.key?(:interconnect)
  @is_active = args[:is_active] if args.key?(:is_active)
end