class Google::Apis::AppengineV1beta5::Resources
Used to specify how many machine resources an app version needs.
Attributes
cpu[RW]
How many CPU cores an app version needs. Corresponds to the JSON property `cpu` @return [Float]
disk_gb[RW]
How much disk size, in GB, an app version needs. Corresponds to the JSON property `diskGb` @return [Float]
memory_gb[RW]
How much memory, in GB, an app version needs. Corresponds to the JSON property `memoryGb` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/appengine_v1beta5/classes.rb, line 851 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/appengine_v1beta5/classes.rb, line 856 def update!(**args) @cpu = args[:cpu] if args.key?(:cpu) @disk_gb = args[:disk_gb] if args.key?(:disk_gb) @memory_gb = args[:memory_gb] if args.key?(:memory_gb) end