Class: Google::Apis::ComputeBeta::NotificationEndpointsScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NotificationEndpointsScopedList

Returns a new instance of NotificationEndpointsScopedList.



43878
43879
43880
# File 'lib/google/apis/compute_beta/classes.rb', line 43878

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

Instance Attribute Details

#resourcesArray<Google::Apis::ComputeBeta::NotificationEndpoint>

A list of NotificationEndpoints contained in this scope. Corresponds to the JSON property resources



43870
43871
43872
# File 'lib/google/apis/compute_beta/classes.rb', line 43870

def resources
  @resources
end

#warningGoogle::Apis::ComputeBeta::NotificationEndpointsScopedList::Warning

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



43876
43877
43878
# File 'lib/google/apis/compute_beta/classes.rb', line 43876

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43883
43884
43885
43886
# File 'lib/google/apis/compute_beta/classes.rb', line 43883

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