Class: Google::Apis::WorkloadmanagerV1::PlacerLocation
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::PlacerLocation
- 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
Message describing that the location of the customer resource is tied to placer allocations
Instance Attribute Summary collapse
-
#placer_config ⇒ String
Directory with a config related to it in placer (e.g. "/placer/prod/home/my- root/my-dir") Corresponds to the JSON property
placerConfig
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlacerLocation
constructor
A new instance of PlacerLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlacerLocation
Returns a new instance of PlacerLocation.
1118 1119 1120 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#placer_config ⇒ String
Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
root/my-dir")
Corresponds to the JSON property placerConfig
1116 1117 1118 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1116 def placer_config @placer_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1123 1124 1125 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1123 def update!(**args) @placer_config = args[:placer_config] if args.key?(:placer_config) end |