Class: Google::Apis::ComputeBeta::TargetInstancesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::TargetInstancesScopedList
- 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>
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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ TargetInstancesScopedList
Returns a new instance of TargetInstancesScopedList
13244 13245 13246 |
# File 'generated/google/apis/compute_beta/classes.rb', line 13244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_instances ⇒ Array<Google::Apis::ComputeBeta::TargetInstance>
List of target instances contained in this scope.
Corresponds to the JSON property targetInstances
13236 13237 13238 |
# File 'generated/google/apis/compute_beta/classes.rb', line 13236 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
13242 13243 13244 |
# File 'generated/google/apis/compute_beta/classes.rb', line 13242 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13249 13250 13251 13252 |
# File 'generated/google/apis/compute_beta/classes.rb', line 13249 def update!(**args) @target_instances = args[:target_instances] if args.key?(:target_instances) @warning = args[:warning] if args.key?(:warning) end |