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

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



10532
10533
10534
# File 'generated/google/apis/compute_v1/classes.rb', line 10532

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



10524
10525
10526
# File 'generated/google/apis/compute_v1/classes.rb', line 10524

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



10530
10531
10532
# File 'generated/google/apis/compute_v1/classes.rb', line 10530

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10537
10538
10539
10540
# File 'generated/google/apis/compute_v1/classes.rb', line 10537

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