Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::Resources.
Machine resources for a version.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cpu
def cpu() -> ::Float
Returns
- (::Float) — Number of CPU cores needed.
#cpu=
def cpu=(value) -> ::Float
Parameter
- value (::Float) — Number of CPU cores needed.
Returns
- (::Float) — Number of CPU cores needed.
#disk_gb
def disk_gb() -> ::Float
Returns
- (::Float) — Disk size (GB) needed.
#disk_gb=
def disk_gb=(value) -> ::Float
Parameter
- value (::Float) — Disk size (GB) needed.
Returns
- (::Float) — Disk size (GB) needed.
#kms_key_reference
def kms_key_reference() -> ::String
Returns
- (::String) — 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
#kms_key_reference=
def kms_key_reference=(value) -> ::String
Parameter
- value (::String) — 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
Returns
- (::String) — 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
#memory_gb
def memory_gb() -> ::Float
Returns
- (::Float) — Memory (GB) needed.
#memory_gb=
def memory_gb=(value) -> ::Float
Parameter
- value (::Float) — Memory (GB) needed.
Returns
- (::Float) — Memory (GB) needed.
#volumes
def volumes() -> ::Array<::Google::Cloud::AppEngine::V1::Volume>
Returns
- (::Array<::Google::Cloud::AppEngine::V1::Volume>) — User specified volumes.
#volumes=
def volumes=(value) -> ::Array<::Google::Cloud::AppEngine::V1::Volume>
Parameter
- value (::Array<::Google::Cloud::AppEngine::V1::Volume>) — User specified volumes.
Returns
- (::Array<::Google::Cloud::AppEngine::V1::Volume>) — User specified volumes.