Class: Google::Apis::MemcacheV1::GoogleCloudMemcacheV1UpgradeInstanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::MemcacheV1::GoogleCloudMemcacheV1UpgradeInstanceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/memcache_v1/classes.rb,
lib/google/apis/memcache_v1/representations.rb,
lib/google/apis/memcache_v1/representations.rb
Overview
Request for UpgradeInstance.
Instance Attribute Summary collapse
-
#memcache_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMemcacheV1UpgradeInstanceRequest
constructor
A new instance of GoogleCloudMemcacheV1UpgradeInstanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudMemcacheV1UpgradeInstanceRequest
Returns a new instance of GoogleCloudMemcacheV1UpgradeInstanceRequest.
477 478 479 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 477 def initialize(**args) update!(**args) end |
Instance Attribute Details
#memcache_version ⇒ String
Required. Specifies the target version of memcached engine to upgrade to.
Corresponds to the JSON property memcacheVersion
475 476 477 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 475 def memcache_version @memcache_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
482 483 484 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 482 def update!(**args) @memcache_version = args[:memcache_version] if args.key?(:memcache_version) end |