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.



73405
73406
73407
# File 'lib/google/apis/compute_beta/classes.rb', line 73405

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



73397
73398
73399
# File 'lib/google/apis/compute_beta/classes.rb', line 73397

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



73403
73404
73405
# File 'lib/google/apis/compute_beta/classes.rb', line 73403

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



73410
73411
73412
73413
# File 'lib/google/apis/compute_beta/classes.rb', line 73410

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