Class: Google::Apis::ComputeAlpha::InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
- 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 Attachment in the group. List order is arbitrary.
Instance Attribute Summary collapse
-
#admin_enabled ⇒ Boolean
(also: #admin_enabled?)
Whether this Attachment is enabled.
-
#attachment ⇒ String
The URL of the Attachment being described.
-
#is_active ⇒ String
Whether this Attachment is participating in the redundant configuration.
-
#status ⇒ String
Whether this Attachment is active, and if so, whether BGP is up.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
constructor
A new instance of InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Returns a new instance of InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.
29828 29829 29830 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29828 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin_enabled ⇒ Boolean Also known as: admin_enabled?
Whether this Attachment is enabled. This becomes false when the customer
drains their Attachment.
Corresponds to the JSON property adminEnabled
29807 29808 29809 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29807 def admin_enabled @admin_enabled end |
#attachment ⇒ String
The URL of the Attachment being described.
Corresponds to the JSON property attachment
29813 29814 29815 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29813 def @attachment end |
#is_active ⇒ String
Whether this Attachment is participating in the redundant configuration. This
will be ACTIVE if and only if the status below is CONNECTION_UP. Any INACTIVE
Attachments are excluded from the analysis that generates operational.
availabilitySLA.
Corresponds to the JSON property isActive
29821 29822 29823 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29821 def is_active @is_active end |
#status ⇒ String
Whether this Attachment is active, and if so, whether BGP is up.
Corresponds to the JSON property status
29826 29827 29828 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29826 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29833 29834 29835 29836 29837 29838 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29833 def update!(**args) @admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled) @attachment = args[:attachment] if args.key?(:attachment) @is_active = args[:is_active] if args.key?(:is_active) @status = args[:status] if args.key?(:status) end |