Class: Google::Apis::ComputeAlpha::PublicDelegatedPrefixesScopedList

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

Returns a new instance of PublicDelegatedPrefixesScopedList.



25049
25050
25051
# File 'generated/google/apis/compute_alpha/classes.rb', line 25049

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

Instance Attribute Details

#public_delegated_prefixesArray<Google::Apis::ComputeAlpha::PublicDelegatedPrefix>

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



25041
25042
25043
# File 'generated/google/apis/compute_alpha/classes.rb', line 25041

def public_delegated_prefixes
  @public_delegated_prefixes
end

#warningGoogle::Apis::ComputeAlpha::PublicDelegatedPrefixesScopedList::Warning

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



25047
25048
25049
# File 'generated/google/apis/compute_alpha/classes.rb', line 25047

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25054
25055
25056
25057
# File 'generated/google/apis/compute_alpha/classes.rb', line 25054

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