Class: Google::Apis::ComputeBeta::VmExtensionPoliciesScopedList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmExtensionPoliciesScopedList

Returns a new instance of VmExtensionPoliciesScopedList.



68201
68202
68203
# File 'lib/google/apis/compute_beta/classes.rb', line 68201

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

Instance Attribute Details

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

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



68193
68194
68195
# File 'lib/google/apis/compute_beta/classes.rb', line 68193

def vm_extension_policies
  @vm_extension_policies
end

#warningGoogle::Apis::ComputeBeta::VmExtensionPoliciesScopedList::Warning

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



68199
68200
68201
# File 'lib/google/apis/compute_beta/classes.rb', line 68199

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



68206
68207
68208
68209
# File 'lib/google/apis/compute_beta/classes.rb', line 68206

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