Class: Google::Apis::ApphubV1::PlacerLocation

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

Overview

Message describing that the location of the customer resource is tied to placer allocations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlacerLocation

Returns a new instance of PlacerLocation.



1325
1326
1327
# File 'lib/google/apis/apphub_v1/classes.rb', line 1325

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

Instance Attribute Details

#placer_configString

Directory with a config related to it in placer (e.g. "/placer/prod/home/my- root/my-dir") Corresponds to the JSON property placerConfig

Returns:

  • (String)


1323
1324
1325
# File 'lib/google/apis/apphub_v1/classes.rb', line 1323

def placer_config
  @placer_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1330
1331
1332
# File 'lib/google/apis/apphub_v1/classes.rb', line 1330

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