Class: Google::Apis::WorkloadmanagerV1::ExtraParameter
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::ExtraParameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
Defines parameters that should only be used for specific asset types.
Instance Attribute Summary collapse
-
#regional_mig_distribution_policy ⇒ Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy
To be used for specifying the intended distribution of regional compute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtraParameter
constructor
A new instance of ExtraParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExtraParameter
Returns a new instance of ExtraParameter.
536 537 538 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#regional_mig_distribution_policy ⇒ Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy
To be used for specifying the intended distribution of regional compute.
googleapis.com/InstanceGroupManager instances
Corresponds to the JSON property regionalMigDistributionPolicy
534 535 536 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 534 def regional_mig_distribution_policy @regional_mig_distribution_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
541 542 543 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 541 def update!(**args) @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy) end |