Class: Google::Apis::ComputeAlpha::InstancesRemoveMaintenancePoliciesRequest

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) ⇒ InstancesRemoveMaintenancePoliciesRequest

Returns a new instance of InstancesRemoveMaintenancePoliciesRequest



11523
11524
11525
# File 'generated/google/apis/compute_alpha/classes.rb', line 11523

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

Instance Attribute Details

#maintenance_policiesArray<String>

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

Returns:

  • (Array<String>)


11521
11522
11523
# File 'generated/google/apis/compute_alpha/classes.rb', line 11521

def maintenance_policies
  @maintenance_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11528
11529
11530
# File 'generated/google/apis/compute_alpha/classes.rb', line 11528

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