Class: Google::Apis::ComputeV1::InterconnectAttachmentsScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.



16057
16058
16059
# File 'lib/google/apis/compute_v1/classes.rb', line 16057

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

Instance Attribute Details

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

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



16049
16050
16051
# File 'lib/google/apis/compute_v1/classes.rb', line 16049

def interconnect_attachments
  @interconnect_attachments
end

#warningGoogle::Apis::ComputeV1::InterconnectAttachmentsScopedList::Warning

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



16055
16056
16057
# File 'lib/google/apis/compute_v1/classes.rb', line 16055

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16062
16063
16064
16065
# File 'lib/google/apis/compute_v1/classes.rb', line 16062

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