Class: Google::Apis::ApphubV1alpha::ExtraParameter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/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.



743
744
745
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 743

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

Instance Attribute Details

#regional_mig_distribution_policyGoogle::Apis::ApphubV1alpha::RegionalMigDistributionPolicy

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



741
742
743
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 741

def regional_mig_distribution_policy
  @regional_mig_distribution_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



748
749
750
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 748

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