class Google::Apis::AppengineV1beta4::Resources
Machine resources for a version.
Attributes
cpu[RW]
Number of CPU cores needed. Corresponds to the JSON property `cpu` @return [Float]
disk_gb[RW]
Disk size (GB) needed. Corresponds to the JSON property `diskGb` @return [Float]
memory_gb[RW]
Memory (GB) needed. Corresponds to the JSON property `memoryGb` @return [Float]
volumes[RW]
User specified volumes. Corresponds to the JSON property `volumes` @return [Array<Google::Apis::AppengineV1beta4::Volume>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/appengine_v1beta4/classes.rb, line 1626 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/appengine_v1beta4/classes.rb, line 1631 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) @volumes = args[:volumes] if args.key?(:volumes) end