Class: Google::Apis::ComputeAlpha::VmExtensionPoliciesScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmExtensionPoliciesScopedList

Returns a new instance of VmExtensionPoliciesScopedList.



70332
70333
70334
# File 'lib/google/apis/compute_alpha/classes.rb', line 70332

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

Instance Attribute Details

#vm_extension_policiesArray<Google::Apis::ComputeAlpha::VmExtensionPolicy>

List of VmExtensionPolicy resources contained in this scope. Corresponds to the JSON property vmExtensionPolicies



70324
70325
70326
# File 'lib/google/apis/compute_alpha/classes.rb', line 70324

def vm_extension_policies
  @vm_extension_policies
end

#warningGoogle::Apis::ComputeAlpha::VmExtensionPoliciesScopedList::Warning

Informational warning which replaces the list of backend services when the list is empty. Corresponds to the JSON property warning



70330
70331
70332
# File 'lib/google/apis/compute_alpha/classes.rb', line 70330

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



70337
70338
70339
70340
# File 'lib/google/apis/compute_alpha/classes.rb', line 70337

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