Class: Google::Apis::MemcacheV1::GoogleCloudMemcacheV1UpgradeInstanceRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_versionString

Required. Specifies the target version of memcached engine to upgrade to. Corresponds to the JSON property memcacheVersion

Returns:

  • (String)


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