Class: Google::Apis::ComputeAlpha::InstancesAddMaintenancePoliciesRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InstancesAddMaintenancePoliciesRequest

Returns a new instance of InstancesAddMaintenancePoliciesRequest



11504
11505
11506
# File 'generated/google/apis/compute_alpha/classes.rb', line 11504

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

Instance Attribute Details

#maintenance_policiesArray<String>

Maintenance policies to be added to this instance. Corresponds to the JSON property maintenancePolicies

Returns:

  • (Array<String>)


11502
11503
11504
# File 'generated/google/apis/compute_alpha/classes.rb', line 11502

def maintenance_policies
  @maintenance_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11509
11510
11511
# File 'generated/google/apis/compute_alpha/classes.rb', line 11509

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