Class: Google::Apis::ComputeBeta::TargetInstancesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::TargetInstancesScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#target_instances ⇒ Array<Google::Apis::ComputeBeta::TargetInstance>
A list of target instances contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::TargetInstancesScopedList::Warning
Informational warning which replaces the list of addresses when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetInstancesScopedList
constructor
A new instance of TargetInstancesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetInstancesScopedList
Returns a new instance of TargetInstancesScopedList.
33868 33869 33870 |
# File 'generated/google/apis/compute_beta/classes.rb', line 33868 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_instances ⇒ Array<Google::Apis::ComputeBeta::TargetInstance>
A list of target instances contained in this scope.
Corresponds to the JSON property targetInstances
33860 33861 33862 |
# File 'generated/google/apis/compute_beta/classes.rb', line 33860 def target_instances @target_instances end |
#warning ⇒ Google::Apis::ComputeBeta::TargetInstancesScopedList::Warning
Informational warning which replaces the list of addresses when the list is
empty.
Corresponds to the JSON property warning
33866 33867 33868 |
# File 'generated/google/apis/compute_beta/classes.rb', line 33866 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33873 33874 33875 33876 |
# File 'generated/google/apis/compute_beta/classes.rb', line 33873 def update!(**args) @target_instances = args[:target_instances] if args.key?(:target_instances) @warning = args[:warning] if args.key?(:warning) end |