Class: Google::Apis::MemcacheV1::ExtraParameter

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

Defines parameters that should only be used for specific asset types.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExtraParameter

Returns a new instance of ExtraParameter.



338
339
340
# File 'lib/google/apis/memcache_v1/classes.rb', line 338

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#regional_mig_distribution_policyGoogle::Apis::MemcacheV1::RegionalMigDistributionPolicy

To be used for specifying the intended distribution of regional compute. googleapis.com/InstanceGroupManager instances Corresponds to the JSON property regionalMigDistributionPolicy



336
337
338
# File 'lib/google/apis/memcache_v1/classes.rb', line 336

def regional_mig_distribution_policy
  @regional_mig_distribution_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



343
344
345
# File 'lib/google/apis/memcache_v1/classes.rb', line 343

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