Class: Google::Apis::ComputeAlpha::InterconnectAttachmentsScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectAttachmentsScopedList

Returns a new instance of InterconnectAttachmentsScopedList.



21669
21670
21671
# File 'lib/google/apis/compute_alpha/classes.rb', line 21669

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

Instance Attribute Details

#interconnect_attachmentsArray<Google::Apis::ComputeAlpha::InterconnectAttachment>

A list of interconnect attachments contained in this scope. Corresponds to the JSON property interconnectAttachments



21661
21662
21663
# File 'lib/google/apis/compute_alpha/classes.rb', line 21661

def interconnect_attachments
  @interconnect_attachments
end

#warningGoogle::Apis::ComputeAlpha::InterconnectAttachmentsScopedList::Warning

Informational warning which replaces the list of addresses when the list is empty. Corresponds to the JSON property warning



21667
21668
21669
# File 'lib/google/apis/compute_alpha/classes.rb', line 21667

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21674
21675
21676
21677
# File 'lib/google/apis/compute_alpha/classes.rb', line 21674

def update!(**args)
  @interconnect_attachments = args[:interconnect_attachments] if args.key?(:interconnect_attachments)
  @warning = args[:warning] if args.key?(:warning)
end