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

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

Defined Under Namespace

Classes: Warning

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) ⇒ InterconnectAttachmentsScopedList

Returns a new instance of InterconnectAttachmentsScopedList



12493
12494
12495
# File 'generated/google/apis/compute_alpha/classes.rb', line 12493

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

Instance Attribute Details

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

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



12485
12486
12487
# File 'generated/google/apis/compute_alpha/classes.rb', line 12485

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



12491
12492
12493
# File 'generated/google/apis/compute_alpha/classes.rb', line 12491

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12498
12499
12500
12501
# File 'generated/google/apis/compute_alpha/classes.rb', line 12498

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