Class: Google::Apis::WorkloadmanagerV1::DirectLocationAssignment
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::DirectLocationAssignment
- 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
Instance Attribute Summary collapse
-
#location ⇒ Array<Google::Apis::WorkloadmanagerV1::LocationAssignment>
Corresponds to the JSON property
location
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DirectLocationAssignment
constructor
A new instance of DirectLocationAssignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DirectLocationAssignment
Returns a new instance of DirectLocationAssignment.
235 236 237 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 235 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Array<Google::Apis::WorkloadmanagerV1::LocationAssignment>
Corresponds to the JSON property location
233 234 235 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 233 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
240 241 242 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 240 def update!(**args) @location = args[:location] if args.key?(:location) end |