Class: Google::Apis::ApphubV1::DirectLocationAssignment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apphub_v1/classes.rb,
lib/google/apis/apphub_v1/representations.rb,
lib/google/apis/apphub_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DirectLocationAssignment

Returns a new instance of DirectLocationAssignment.



516
517
518
# File 'lib/google/apis/apphub_v1/classes.rb', line 516

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

Instance Attribute Details

#locationArray<Google::Apis::ApphubV1::LocationAssignment>

Corresponds to the JSON property location



514
515
516
# File 'lib/google/apis/apphub_v1/classes.rb', line 514

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



521
522
523
# File 'lib/google/apis/apphub_v1/classes.rb', line 521

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