Class: Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2UpgradeInstanceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/memcache_v1beta2/classes.rb,
lib/google/apis/memcache_v1beta2/representations.rb,
lib/google/apis/memcache_v1beta2/representations.rb

Overview

Request for UpgradeInstance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMemcacheV1beta2UpgradeInstanceRequest

Returns a new instance of GoogleCloudMemcacheV1beta2UpgradeInstanceRequest.



356
357
358
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 356

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)


354
355
356
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 354

def memcache_version
  @memcache_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



361
362
363
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 361

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