Class: Google::Apis::ComputeBeta::NotificationEndpointsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NotificationEndpointsScopedList
- 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
-
#resources ⇒ Array<Google::Apis::ComputeBeta::NotificationEndpoint>
A list of NotificationEndpoints contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::NotificationEndpointsScopedList::Warning
Informational warning which replaces the list of notification endpoints when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotificationEndpointsScopedList
constructor
A new instance of NotificationEndpointsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NotificationEndpointsScopedList
Returns a new instance of NotificationEndpointsScopedList.
44660 44661 44662 |
# File 'lib/google/apis/compute_beta/classes.rb', line 44660 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resources ⇒ Array<Google::Apis::ComputeBeta::NotificationEndpoint>
A list of NotificationEndpoints contained in this scope.
Corresponds to the JSON property resources
44652 44653 44654 |
# File 'lib/google/apis/compute_beta/classes.rb', line 44652 def resources @resources end |
#warning ⇒ Google::Apis::ComputeBeta::NotificationEndpointsScopedList::Warning
Informational warning which replaces the list of
notification endpoints when the list is empty.
Corresponds to the JSON property warning
44658 44659 44660 |
# File 'lib/google/apis/compute_beta/classes.rb', line 44658 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44665 44666 44667 44668 |
# File 'lib/google/apis/compute_beta/classes.rb', line 44665 def update!(**args) @resources = args[:resources] if args.key?(:resources) @warning = args[:warning] if args.key?(:warning) end |