class Google::Apis::AppengineV1::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]

kms_key_reference[RW]

The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk Corresponds to the JSON property `kmsKeyReference` @return [String]

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::AppengineV1::Volume>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appengine_v1/classes.rb, line 2428
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_v1/classes.rb, line 2433
def update!(**args)
  @cpu = args[:cpu] if args.key?(:cpu)
  @disk_gb = args[:disk_gb] if args.key?(:disk_gb)
  @kms_key_reference = args[:kms_key_reference] if args.key?(:kms_key_reference)
  @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
  @volumes = args[:volumes] if args.key?(:volumes)
end