Class: Google::Apis::ComputeV1::AddressesScopedList

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

Constructor Details

#initialize(**args) ⇒ AddressesScopedList

Returns a new instance of AddressesScopedList.



955
956
957
# File 'generated/google/apis/compute_v1/classes.rb', line 955

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

Instance Attribute Details

#addressesArray<Google::Apis::ComputeV1::Address>

[Output Only] A list of addresses contained in this scope. Corresponds to the JSON property addresses



947
948
949
# File 'generated/google/apis/compute_v1/classes.rb', line 947

def addresses
  @addresses
end

#warningGoogle::Apis::ComputeV1::AddressesScopedList::Warning

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



953
954
955
# File 'generated/google/apis/compute_v1/classes.rb', line 953

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



960
961
962
963
# File 'generated/google/apis/compute_v1/classes.rb', line 960

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