Class: Google::Apis::ComputeBeta::ServiceAttachmentsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ServiceAttachmentsScopedList
- 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::ServiceAttachment>
A list of ServiceAttachments contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::ServiceAttachmentsScopedList::Warning
Informational warning which replaces the list of service attachments when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceAttachmentsScopedList
constructor
A new instance of ServiceAttachmentsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceAttachmentsScopedList
Returns a new instance of ServiceAttachmentsScopedList.
31774 31775 31776 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31774 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resources ⇒ Array<Google::Apis::ComputeBeta::ServiceAttachment>
A list of ServiceAttachments contained in this scope.
Corresponds to the JSON property resources
31766 31767 31768 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31766 def resources @resources end |
#warning ⇒ Google::Apis::ComputeBeta::ServiceAttachmentsScopedList::Warning
Informational warning which replaces the list of service attachments when the
list is empty.
Corresponds to the JSON property warning
31772 31773 31774 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31772 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31779 31780 31781 31782 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31779 def update!(**args) @resources = args[:resources] if args.key?(:resources) @warning = args[:warning] if args.key?(:warning) end |