class Google::Apis::MemcacheV1beta2::ApplySoftwareUpdateRequest

Request for ApplySoftwareUpdate.

Attributes

apply_all[RW]

Whether to apply the update to all nodes. If set to true, will explicitly restrict users from specifying any nodes, and apply software update to all nodes (where applicable) within the instance. Corresponds to the JSON property `applyAll` @return [Boolean]

apply_all?[RW]

Whether to apply the update to all nodes. If set to true, will explicitly restrict users from specifying any nodes, and apply software update to all nodes (where applicable) within the instance. Corresponds to the JSON property `applyAll` @return [Boolean]

node_ids[RW]

Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel. Corresponds to the JSON property `nodeIds` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/memcache_v1beta2/classes.rb, line 71
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/memcache_v1beta2/classes.rb, line 76
def update!(**args)
  @apply_all = args[:apply_all] if args.key?(:apply_all)
  @node_ids = args[:node_ids] if args.key?(:node_ids)
end