Class: Google::Apis::MemcacheV1beta2::ApplyParametersRequest
- Inherits:
-
Object
- Object
- Google::Apis::MemcacheV1beta2::ApplyParametersRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/memcache_v1beta2/classes.rb,
generated/google/apis/memcache_v1beta2/representations.rb,
generated/google/apis/memcache_v1beta2/representations.rb
Overview
Request for ApplyParameters.
Instance Attribute Summary collapse
-
#apply_all ⇒ Boolean
(also: #apply_all?)
Whether to apply instance-level parameter group to all nodes.
-
#node_ids ⇒ Array<String>
Nodes to which we should apply the instance-level parameter group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplyParametersRequest
constructor
A new instance of ApplyParametersRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplyParametersRequest
Returns a new instance of ApplyParametersRequest.
42 43 44 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 42 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_all ⇒ Boolean Also known as: apply_all?
Whether to apply instance-level parameter group to all nodes. If set to true,
will explicitly restrict users from specifying any nodes, and apply parameter
group updates to all nodes within the instance.
Corresponds to the JSON property applyAll
34 35 36 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 34 def apply_all @apply_all end |
#node_ids ⇒ Array<String>
Nodes to which we should apply the instance-level parameter group.
Corresponds to the JSON property nodeIds
40 41 42 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 40 def node_ids @node_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47 48 49 50 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 47 def update!(**args) @apply_all = args[:apply_all] if args.key?(:apply_all) @node_ids = args[:node_ids] if args.key?(:node_ids) end |